Struct net_types::MulticastAddr
source · pub struct MulticastAddr<A>(/* private fields */);
Expand description
An address which is guaranteed to be multicast.
MulticastAddr
wraps an address of type A
and guarantees that it is
a multicast address. Note that this guarantee is contingent on a correct
implementation of the MulticastAddress
trait. Since that trait is
not unsafe
, unsafe
code may NOT rely on this guarantee for its soundness.
Implementations§
source§impl<A: MulticastAddress> MulticastAddr<A>
impl<A: MulticastAddress> MulticastAddr<A>
sourcepub fn new(addr: A) -> Option<MulticastAddr<A>>
pub fn new(addr: A) -> Option<MulticastAddr<A>>
Constructs a new MulticastAddr
.
new
returns None
if !addr.is_multicast()
.
sourcepub fn from_witness<W: Witness<A>>(addr: W) -> Option<MulticastAddr<A>>
pub fn from_witness<W: Witness<A>>(addr: W) -> Option<MulticastAddr<A>>
Constructs a new MulticastAddr
from a
witness type.
from_witness(witness)
is equivalent to new(witness.into_addr())
.
source§impl<A> MulticastAddr<A>
impl<A> MulticastAddr<A>
sourcepub const unsafe fn new_unchecked(addr: A) -> MulticastAddr<A>
pub const unsafe fn new_unchecked(addr: A) -> MulticastAddr<A>
Constructs a new MulticastAddr
without
checking to see if addr
is actually multicast.
§Safety
It is up to the caller to make sure that addr
is multicast to avoid breaking
the guarantees of MulticastAddr
. See MulticastAddr
for
more details.
source§impl<A: MulticastAddress + SpecifiedAddress> MulticastAddr<A>
impl<A: MulticastAddress + SpecifiedAddress> MulticastAddr<A>
sourcepub fn into_specified(self) -> SpecifiedAddr<A>
pub fn into_specified(self) -> SpecifiedAddr<A>
Converts this MulticastAddr
into a
SpecifiedAddr
.
MulticastAddress::is_multicast
implies
SpecifiedAddress::is_specified
, so all MulticastAddr
s are
guaranteed to be specified, so this conversion is infallible.
source§impl<A: MulticastAddress + MappedAddress> MulticastAddr<A>
impl<A: MulticastAddress + MappedAddress> MulticastAddr<A>
sourcepub fn non_mapped(self) -> NonMappedAddr<MulticastAddr<A>>
pub fn non_mapped(self) -> NonMappedAddr<MulticastAddr<A>>
Wraps self
in the NonMappedAddr
witness type.
Trait Implementations§
source§impl<A: MulticastAddress> AsRef<A> for MulticastAddr<A>
impl<A: MulticastAddress> AsRef<A> for MulticastAddr<A>
source§impl<A: MulticastAddress + LinkLocalAddress> AsRef<A> for MulticastAddr<LinkLocalAddr<A>>
impl<A: MulticastAddress + LinkLocalAddress> AsRef<A> for MulticastAddr<LinkLocalAddr<A>>
source§impl<A: MulticastAddress + MappedAddress> AsRef<A> for MulticastAddr<NonMappedAddr<A>>
impl<A: MulticastAddress + MappedAddress> AsRef<A> for MulticastAddr<NonMappedAddr<A>>
source§impl<A: MulticastAddress> AsRef<MulticastAddr<A>> for MulticastAddr<A>
impl<A: MulticastAddress> AsRef<MulticastAddr<A>> for MulticastAddr<A>
source§fn as_ref(&self) -> &MulticastAddr<A>
fn as_ref(&self) -> &MulticastAddr<A>
source§impl<A: BroadcastAddress> BroadcastAddress for MulticastAddr<A>
impl<A: BroadcastAddress> BroadcastAddress for MulticastAddr<A>
source§fn is_broadcast(&self) -> bool
fn is_broadcast(&self) -> bool
source§impl<A: Clone> Clone for MulticastAddr<A>
impl<A: Clone> Clone for MulticastAddr<A>
source§fn clone(&self) -> MulticastAddr<A>
fn clone(&self) -> MulticastAddr<A>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<A: Debug> Debug for MulticastAddr<A>
impl<A: Debug> Debug for MulticastAddr<A>
source§impl<A: MulticastAddress> Deref for MulticastAddr<A>
impl<A: MulticastAddress> Deref for MulticastAddr<A>
source§impl<A: Display> Display for MulticastAddr<A>
impl<A: Display> Display for MulticastAddr<A>
source§impl<'a, A: IpAddress> From<&'a MulticastAddr<A>> for Mac
impl<'a, A: IpAddress> From<&'a MulticastAddr<A>> for Mac
source§fn from(addr: &'a MulticastAddr<A>) -> Mac
fn from(addr: &'a MulticastAddr<A>) -> Mac
Converts a multicast IP address to a MAC address.
This method is equivalent to MulticastAddr::<Mac>::from(addr).get()
.
source§impl<'a, A: IpAddress> From<&'a MulticastAddr<A>> for MulticastAddr<Mac>
impl<'a, A: IpAddress> From<&'a MulticastAddr<A>> for MulticastAddr<Mac>
source§fn from(addr: &'a MulticastAddr<A>) -> MulticastAddr<Mac>
fn from(addr: &'a MulticastAddr<A>) -> MulticastAddr<Mac>
Converts a multicast IP address to a multicast MAC address.
When a multicast IP packet is sent over an Ethernet link, the frame’s destination MAC address is a multicast MAC address that is derived from the destination IP address. This function performs that conversion.
See RFC 7042 Section 2.1.1 and Section 2.3.1 for details on how IPv4 and IPv6 addresses are mapped, respectively.
source§impl From<IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>> for MulticastAddr<IpAddr>
impl From<IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>> for MulticastAddr<IpAddr>
source§fn from(
addr: IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>,
) -> MulticastAddr<IpAddr>
fn from( addr: IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>, ) -> MulticastAddr<IpAddr>
source§impl<A: IpAddress> From<MulticastAddr<A>> for IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
impl<A: IpAddress> From<MulticastAddr<A>> for IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
source§fn from(
addr: MulticastAddr<A>,
) -> IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
fn from( addr: MulticastAddr<A>, ) -> IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
source§impl<A: Into<Ipv4Addr> + MulticastAddress + Copy> From<MulticastAddr<A>> for Ipv4Addr
impl<A: Into<Ipv4Addr> + MulticastAddress + Copy> From<MulticastAddr<A>> for Ipv4Addr
source§fn from(addr: MulticastAddr<A>) -> Ipv4Addr
fn from(addr: MulticastAddr<A>) -> Ipv4Addr
source§impl<A: Into<Ipv6Addr> + MulticastAddress + Copy> From<MulticastAddr<A>> for Ipv6Addr
impl<A: Into<Ipv6Addr> + MulticastAddress + Copy> From<MulticastAddr<A>> for Ipv6Addr
source§fn from(addr: MulticastAddr<A>) -> Ipv6Addr
fn from(addr: MulticastAddr<A>) -> Ipv6Addr
source§impl<A: IpAddress> From<MulticastAddr<A>> for Mac
impl<A: IpAddress> From<MulticastAddr<A>> for Mac
source§fn from(addr: MulticastAddr<A>) -> Mac
fn from(addr: MulticastAddr<A>) -> Mac
Converts a multicast IP address to a MAC address.
This method is equivalent to (&addr).into()
.
source§impl<A: IpAddress> From<MulticastAddr<A>> for MulticastAddr<IpAddr>
impl<A: IpAddress> From<MulticastAddr<A>> for MulticastAddr<IpAddr>
source§fn from(addr: MulticastAddr<A>) -> MulticastAddr<IpAddr>
fn from(addr: MulticastAddr<A>) -> MulticastAddr<IpAddr>
source§impl<A: IpAddress> From<MulticastAddr<A>> for MulticastAddr<Mac>
impl<A: IpAddress> From<MulticastAddr<A>> for MulticastAddr<Mac>
source§fn from(addr: MulticastAddr<A>) -> MulticastAddr<Mac>
fn from(addr: MulticastAddr<A>) -> MulticastAddr<Mac>
source§impl<A: MulticastAddress + SpecifiedAddress> From<MulticastAddr<A>> for SpecifiedAddr<A>
impl<A: MulticastAddress + SpecifiedAddress> From<MulticastAddr<A>> for SpecifiedAddr<A>
source§fn from(addr: MulticastAddr<A>) -> SpecifiedAddr<A>
fn from(addr: MulticastAddr<A>) -> SpecifiedAddr<A>
source§impl From<MulticastAddr<IpAddr>> for IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
impl From<MulticastAddr<IpAddr>> for IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
source§fn from(
addr: MulticastAddr<IpAddr>,
) -> IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
fn from( addr: MulticastAddr<IpAddr>, ) -> IpAddr<MulticastAddr<Ipv4Addr>, MulticastAddr<Ipv6Addr>>
source§impl From<MulticastAddr<Ipv6Addr>> for UnicastOrMulticastIpv6Addr
impl From<MulticastAddr<Ipv6Addr>> for UnicastOrMulticastIpv6Addr
source§fn from(addr: MulticastAddr<Ipv6Addr>) -> UnicastOrMulticastIpv6Addr
fn from(addr: MulticastAddr<Ipv6Addr>) -> UnicastOrMulticastIpv6Addr
source§impl<A: MulticastAddress + LinkLocalAddress + SpecifiedAddress> From<MulticastAddr<LinkLocalAddr<A>>> for SpecifiedAddr<A>
impl<A: MulticastAddress + LinkLocalAddress + SpecifiedAddress> From<MulticastAddr<LinkLocalAddr<A>>> for SpecifiedAddr<A>
source§fn from(addr: MulticastAddr<LinkLocalAddr<A>>) -> SpecifiedAddr<A>
fn from(addr: MulticastAddr<LinkLocalAddr<A>>) -> SpecifiedAddr<A>
source§impl<A: MulticastAddress + MappedAddress + SpecifiedAddress> From<MulticastAddr<NonMappedAddr<A>>> for SpecifiedAddr<A>
impl<A: MulticastAddress + MappedAddress + SpecifiedAddress> From<MulticastAddr<NonMappedAddr<A>>> for SpecifiedAddr<A>
source§fn from(addr: MulticastAddr<NonMappedAddr<A>>) -> SpecifiedAddr<A>
fn from(addr: MulticastAddr<NonMappedAddr<A>>) -> SpecifiedAddr<A>
source§impl<A: IpAddress, I: Ip> GenericOverIp<I> for MulticastAddr<A>
impl<A: IpAddress, I: Ip> GenericOverIp<I> for MulticastAddr<A>
§type Type = MulticastAddr<<I as Ip>::Addr>
type Type = MulticastAddr<<I as Ip>::Addr>
Self
when its IP-generic parameter is replaced with the
type NewIp
.source§impl<A: Hash> Hash for MulticastAddr<A>
impl<A: Hash> Hash for MulticastAddr<A>
source§impl IpAddrWitness for MulticastAddr<IpAddr>
impl IpAddrWitness for MulticastAddr<IpAddr>
§type V4 = MulticastAddr<Ipv4Addr>
type V4 = MulticastAddr<Ipv4Addr>
Self
. Read more§type V6 = MulticastAddr<Ipv6Addr>
type V6 = MulticastAddr<Ipv6Addr>
Self
. Read moresource§impl<A: IpAddress> IpAddressWitness<A> for MulticastAddr<A>
impl<A: IpAddress> IpAddressWitness<A> for MulticastAddr<A>
§type IpAddrWitness = MulticastAddr<IpAddr>
type IpAddrWitness = MulticastAddr<IpAddr>
Self
. Read moresource§impl<A: LinkLocalAddress> LinkLocalAddress for MulticastAddr<A>
impl<A: LinkLocalAddress> LinkLocalAddress for MulticastAddr<A>
source§fn is_link_local(&self) -> bool
fn is_link_local(&self) -> bool
source§impl<A: MappedAddress> MappedAddress for MulticastAddr<A>
impl<A: MappedAddress> MappedAddress for MulticastAddr<A>
source§fn is_non_mapped(&self) -> bool
fn is_non_mapped(&self) -> bool
source§impl<A: Ord> Ord for MulticastAddr<A>
impl<A: Ord> Ord for MulticastAddr<A>
source§fn cmp(&self, other: &MulticastAddr<A>) -> Ordering
fn cmp(&self, other: &MulticastAddr<A>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl<A: PartialEq> PartialEq for MulticastAddr<A>
impl<A: PartialEq> PartialEq for MulticastAddr<A>
source§fn eq(&self, other: &MulticastAddr<A>) -> bool
fn eq(&self, other: &MulticastAddr<A>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<A: PartialOrd> PartialOrd for MulticastAddr<A>
impl<A: PartialOrd> PartialOrd for MulticastAddr<A>
source§fn partial_cmp(&self, other: &MulticastAddr<A>) -> Option<Ordering>
fn partial_cmp(&self, other: &MulticastAddr<A>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl<A: ScopeableAddress> ScopeableAddress for MulticastAddr<A>
impl<A: ScopeableAddress> ScopeableAddress for MulticastAddr<A>
source§impl<A: SpecifiedAddress> SpecifiedAddress for MulticastAddr<A>
impl<A: SpecifiedAddress> SpecifiedAddress for MulticastAddr<A>
source§fn is_specified(&self) -> bool
fn is_specified(&self) -> bool
source§impl<A: MulticastAddress> TransposableWitness<A> for MulticastAddr<A>
impl<A: MulticastAddress> TransposableWitness<A> for MulticastAddr<A>
§type Map<T> = MulticastAddr<T>
type Map<T> = MulticastAddr<T>
source§impl<A: BroadcastAddress + MulticastAddress> TryFrom<BroadcastAddr<A>> for MulticastAddr<A>
impl<A: BroadcastAddress + MulticastAddress> TryFrom<BroadcastAddr<A>> for MulticastAddr<A>
source§fn try_from(addr: BroadcastAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: BroadcastAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: LinkLocalAddress + MulticastAddress> TryFrom<LinkLocalAddr<A>> for MulticastAddr<A>
impl<A: LinkLocalAddress + MulticastAddress> TryFrom<LinkLocalAddr<A>> for MulticastAddr<A>
source§fn try_from(addr: LinkLocalAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: LinkLocalAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: LinkLocalBroadcastAddress + MulticastAddress> TryFrom<LinkLocalAddr<BroadcastAddr<A>>> for MulticastAddr<A>
impl<A: LinkLocalBroadcastAddress + MulticastAddress> TryFrom<LinkLocalAddr<BroadcastAddr<A>>> for MulticastAddr<A>
source§fn try_from(addr: LinkLocalBroadcastAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: LinkLocalBroadcastAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: LinkLocalMulticastAddress + MulticastAddress> TryFrom<LinkLocalAddr<MulticastAddr<A>>> for MulticastAddr<A>
impl<A: LinkLocalMulticastAddress + MulticastAddress> TryFrom<LinkLocalAddr<MulticastAddr<A>>> for MulticastAddr<A>
source§fn try_from(addr: LinkLocalMulticastAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: LinkLocalMulticastAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: LinkLocalUnicastAddress + MulticastAddress> TryFrom<LinkLocalAddr<UnicastAddr<A>>> for MulticastAddr<A>
impl<A: LinkLocalUnicastAddress + MulticastAddress> TryFrom<LinkLocalAddr<UnicastAddr<A>>> for MulticastAddr<A>
source§fn try_from(addr: LinkLocalUnicastAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: LinkLocalUnicastAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: MulticastAddress + BroadcastAddress> TryFrom<MulticastAddr<A>> for BroadcastAddr<A>
impl<A: MulticastAddress + BroadcastAddress> TryFrom<MulticastAddr<A>> for BroadcastAddr<A>
source§fn try_from(addr: MulticastAddr<A>) -> Result<BroadcastAddr<A>, ()>
fn try_from(addr: MulticastAddr<A>) -> Result<BroadcastAddr<A>, ()>
source§impl<A: MulticastAddress + LinkLocalAddress> TryFrom<MulticastAddr<A>> for LinkLocalAddr<A>
impl<A: MulticastAddress + LinkLocalAddress> TryFrom<MulticastAddr<A>> for LinkLocalAddr<A>
source§fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalAddr<A>, ()>
fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalAddr<A>, ()>
source§impl<A: MulticastAddress + LinkLocalBroadcastAddress> TryFrom<MulticastAddr<A>> for LinkLocalBroadcastAddr<A>
impl<A: MulticastAddress + LinkLocalBroadcastAddress> TryFrom<MulticastAddr<A>> for LinkLocalBroadcastAddr<A>
source§fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalBroadcastAddr<A>, ()>
fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalBroadcastAddr<A>, ()>
source§impl<A: MulticastAddress + LinkLocalUnicastAddress> TryFrom<MulticastAddr<A>> for LinkLocalUnicastAddr<A>
impl<A: MulticastAddress + LinkLocalUnicastAddress> TryFrom<MulticastAddr<A>> for LinkLocalUnicastAddr<A>
source§fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalUnicastAddr<A>, ()>
fn try_from(addr: MulticastAddr<A>) -> Result<LinkLocalUnicastAddr<A>, ()>
source§impl<A: MulticastAddress + MappedAddress> TryFrom<MulticastAddr<A>> for NonMappedAddr<A>
impl<A: MulticastAddress + MappedAddress> TryFrom<MulticastAddr<A>> for NonMappedAddr<A>
source§fn try_from(addr: MulticastAddr<A>) -> Result<NonMappedAddr<A>, ()>
fn try_from(addr: MulticastAddr<A>) -> Result<NonMappedAddr<A>, ()>
source§impl<A: MulticastAddress + UnicastAddress> TryFrom<MulticastAddr<A>> for UnicastAddr<A>
impl<A: MulticastAddress + UnicastAddress> TryFrom<MulticastAddr<A>> for UnicastAddr<A>
source§fn try_from(addr: MulticastAddr<A>) -> Result<UnicastAddr<A>, ()>
fn try_from(addr: MulticastAddr<A>) -> Result<UnicastAddr<A>, ()>
source§impl<A: MappedAddress + MulticastAddress> TryFrom<NonMappedAddr<A>> for MulticastAddr<A>
impl<A: MappedAddress + MulticastAddress> TryFrom<NonMappedAddr<A>> for MulticastAddr<A>
source§fn try_from(addr: NonMappedAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: NonMappedAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: SpecifiedAddress + MulticastAddress> TryFrom<SpecifiedAddr<A>> for MulticastAddr<A>
impl<A: SpecifiedAddress + MulticastAddress> TryFrom<SpecifiedAddr<A>> for MulticastAddr<A>
source§fn try_from(addr: SpecifiedAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: SpecifiedAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: UnicastAddress + MulticastAddress> TryFrom<UnicastAddr<A>> for MulticastAddr<A>
impl<A: UnicastAddress + MulticastAddress> TryFrom<UnicastAddr<A>> for MulticastAddr<A>
source§fn try_from(addr: UnicastAddr<A>) -> Result<MulticastAddr<A>, ()>
fn try_from(addr: UnicastAddr<A>) -> Result<MulticastAddr<A>, ()>
source§impl<A: UnicastAddress> UnicastAddress for MulticastAddr<A>
impl<A: UnicastAddress> UnicastAddress for MulticastAddr<A>
source§fn is_unicast(&self) -> bool
fn is_unicast(&self) -> bool
source§impl<A: MulticastAddress> Witness<A> for MulticastAddr<A>
impl<A: MulticastAddress> Witness<A> for MulticastAddr<A>
source§unsafe fn new_unchecked(addr: A) -> MulticastAddr<A>
unsafe fn new_unchecked(addr: A) -> MulticastAddr<A>
addr
actually
satisfies the required property. Read moresource§fn from_witness<W: Witness<A>>(addr: W) -> Option<Self>
fn from_witness<W: Witness<A>>(addr: W) -> Option<Self>
source§fn transpose<T>(self) -> A::Map<Self::Map<T>>where
Self: TransposableWitness<A>,
A: TransposableWitness<T>,
Self::Map<T>: Witness<T>,
A::Map<Self::Map<T>>: Witness<Self::Map<T>>,
fn transpose<T>(self) -> A::Map<Self::Map<T>>where
Self: TransposableWitness<A>,
A: TransposableWitness<T>,
Self::Map<T>: Witness<T>,
A::Map<Self::Map<T>>: Witness<Self::Map<T>>,
source§impl<A: MulticastAddress + LinkLocalAddress> Witness<A> for MulticastAddr<LinkLocalAddr<A>>
impl<A: MulticastAddress + LinkLocalAddress> Witness<A> for MulticastAddr<LinkLocalAddr<A>>
source§fn new(addr: A) -> Option<MulticastAddr<LinkLocalAddr<A>>>
fn new(addr: A) -> Option<MulticastAddr<LinkLocalAddr<A>>>
source§unsafe fn new_unchecked(addr: A) -> MulticastAddr<LinkLocalAddr<A>>
unsafe fn new_unchecked(addr: A) -> MulticastAddr<LinkLocalAddr<A>>
addr
actually
satisfies the required property. Read moresource§impl<A: MulticastAddress + MappedAddress> Witness<A> for MulticastAddr<NonMappedAddr<A>>
impl<A: MulticastAddress + MappedAddress> Witness<A> for MulticastAddr<NonMappedAddr<A>>
source§fn new(addr: A) -> Option<MulticastAddr<NonMappedAddr<A>>>
fn new(addr: A) -> Option<MulticastAddr<NonMappedAddr<A>>>
source§unsafe fn new_unchecked(addr: A) -> MulticastAddr<NonMappedAddr<A>>
unsafe fn new_unchecked(addr: A) -> MulticastAddr<NonMappedAddr<A>>
addr
actually
satisfies the required property. Read moreimpl<A: Copy> Copy for MulticastAddr<A>
impl<A: Eq> Eq for MulticastAddr<A>
impl<A> StructuralPartialEq for MulticastAddr<A>
Auto Trait Implementations§
impl<A> Freeze for MulticastAddr<A>where
A: Freeze,
impl<A> RefUnwindSafe for MulticastAddr<A>where
A: RefUnwindSafe,
impl<A> Send for MulticastAddr<A>where
A: Send,
impl<A> Sync for MulticastAddr<A>where
A: Sync,
impl<A> Unpin for MulticastAddr<A>where
A: Unpin,
impl<A> UnwindSafe for MulticastAddr<A>where
A: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)