pub enum OutgoingInterface {
Ipv4Addr(Ipv4Addr),
Ipv6Addr(Ipv6Addr),
Ipv6Index(u32),
}Expand description
Explicit outgoing multicast interface selection.
Variants§
Ipv4Addr(Ipv4Addr)
Select the IPv4 multicast egress interface by local IPv4 address.
Ipv6Addr(Ipv6Addr)
Select the IPv6 multicast egress interface by local IPv6 address.
On the IPv6 send path this also provides the exact local address to bind when no explicit source address was configured.
Ipv6Index(u32)
Select the IPv6 multicast egress interface by interface index.
Trait Implementations§
Source§impl Clone for OutgoingInterface
impl Clone for OutgoingInterface
Source§fn clone(&self) -> OutgoingInterface
fn clone(&self) -> OutgoingInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutgoingInterface
impl Debug for OutgoingInterface
Source§impl From<Ipv4Addr> for OutgoingInterface
impl From<Ipv4Addr> for OutgoingInterface
Source§impl From<Ipv6Addr> for OutgoingInterface
impl From<Ipv6Addr> for OutgoingInterface
Source§impl Hash for OutgoingInterface
impl Hash for OutgoingInterface
Source§impl PartialEq for OutgoingInterface
impl PartialEq for OutgoingInterface
Source§fn eq(&self, other: &OutgoingInterface) -> bool
fn eq(&self, other: &OutgoingInterface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OutgoingInterface
impl Eq for OutgoingInterface
impl StructuralPartialEq for OutgoingInterface
Auto Trait Implementations§
impl Freeze for OutgoingInterface
impl RefUnwindSafe for OutgoingInterface
impl Send for OutgoingInterface
impl Sync for OutgoingInterface
impl Unpin for OutgoingInterface
impl UnsafeUnpin for OutgoingInterface
impl UnwindSafe for OutgoingInterface
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