pub enum MulticastAddr {
V4,
V6LinkLocal,
V6SiteLocal,
Loopback,
}
Expand description
The Multicast Address in use
This uses officially assigned addresses by IANA
Variants§
V4
The IPv4 Multicast address: 239.255.255.250
This is referred to as site-local
V6LinkLocal
The IPv6 Multicast address: ff02::c
This is referred to as link-local
V6SiteLocal
The IPv6 Multicast address: ff05::c
This is referred to as site-local
Loopback
This is used only for test purposes or a local setup
Multicast is not redirected to the originating host, so we cannot run a Service and a Client on the same device
Implementations§
Source§impl MulticastAddr
impl MulticastAddr
Trait Implementations§
Source§impl PartialEq for MulticastAddr
impl PartialEq for MulticastAddr
impl StructuralPartialEq for MulticastAddr
Auto Trait Implementations§
impl Freeze for MulticastAddr
impl RefUnwindSafe for MulticastAddr
impl Send for MulticastAddr
impl Sync for MulticastAddr
impl Unpin for MulticastAddr
impl UnwindSafe for MulticastAddr
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
Mutably borrows from an owned value. Read more