Type Alias net_types::LinkLocalUnicastAddr

source ·
pub type LinkLocalUnicastAddr<A> = LinkLocalAddr<UnicastAddr<A>>;
Expand description

A link-local unicast address.

Aliased Type§

struct LinkLocalUnicastAddr<A>(/* private fields */);

Trait Implementations§

source§

impl<A: BroadcastAddress + LinkLocalUnicastAddress> TryFrom<BroadcastAddr<A>> for LinkLocalUnicastAddr<A>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(addr: BroadcastAddr<A>) -> Result<LinkLocalUnicastAddr<A>, ()>

Performs the conversion.
source§

impl<A: LinkLocalBroadcastAddress + LinkLocalUnicastAddress> TryFrom<LinkLocalAddr<BroadcastAddr<A>>> for LinkLocalUnicastAddr<A>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from( addr: LinkLocalBroadcastAddr<A>, ) -> Result<LinkLocalUnicastAddr<A>, ()>

Performs the conversion.
source§

impl<A: LinkLocalMulticastAddress + LinkLocalUnicastAddress> TryFrom<LinkLocalAddr<MulticastAddr<A>>> for LinkLocalUnicastAddr<A>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from( addr: LinkLocalMulticastAddr<A>, ) -> Result<LinkLocalUnicastAddr<A>, ()>

Performs the conversion.
source§

impl<A: MulticastAddress + LinkLocalUnicastAddress> TryFrom<MulticastAddr<A>> for LinkLocalUnicastAddr<A>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalUnicastAddr<A>, ()>

Performs the conversion.
source§

impl<A: MappedAddress + LinkLocalUnicastAddress> TryFrom<NonMappedAddr<A>> for LinkLocalUnicastAddr<A>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(addr: NonMappedAddr<A>) -> Result<LinkLocalUnicastAddr<A>, ()>

Performs the conversion.
source§

impl<A: SpecifiedAddress + LinkLocalUnicastAddress> TryFrom<SpecifiedAddr<A>> for LinkLocalUnicastAddr<A>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(addr: SpecifiedAddr<A>) -> Result<LinkLocalUnicastAddr<A>, ()>

Performs the conversion.