net_types

Type Alias 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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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.