net_types

Type Alias LinkLocalMulticastAddr

Source
pub type LinkLocalMulticastAddr<A> = LinkLocalAddr<MulticastAddr<A>>;
Expand description

A link-local multicast address.

Aliased Type§

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

Trait Implementations§

Source§

impl<A: BroadcastAddress + LinkLocalMulticastAddress> TryFrom<BroadcastAddr<A>> for LinkLocalMulticastAddr<A>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<A: LinkLocalBroadcastAddress + LinkLocalMulticastAddress> TryFrom<LinkLocalAddr<BroadcastAddr<A>>> for LinkLocalMulticastAddr<A>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<A: LinkLocalUnicastAddress + LinkLocalMulticastAddress> TryFrom<LinkLocalAddr<UnicastAddr<A>>> for LinkLocalMulticastAddr<A>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<A: MappedAddress + LinkLocalMulticastAddress> TryFrom<NonMappedAddr<A>> for LinkLocalMulticastAddr<A>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<A: SpecifiedAddress + LinkLocalMulticastAddress> TryFrom<SpecifiedAddr<A>> for LinkLocalMulticastAddr<A>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<A: UnicastAddress + LinkLocalMulticastAddress> TryFrom<UnicastAddr<A>> for LinkLocalMulticastAddr<A>

Source§

type Error = ()

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

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

Performs the conversion.