pub struct LocalInterfaceV6 {
pub name: String,
pub index: u32,
}Expand description
A local interface that an IPv6 multicast socket can be bound to.
IPv6 group membership is joined per interface rather than per address, so a single socket per interface covers all of its IPv6 addresses.
Fields§
§name: StringThe name of the interface, only used for logging.
index: u32The index of the interface, used to join the multicast group.
Trait Implementations§
Source§impl Clone for LocalInterfaceV6
impl Clone for LocalInterfaceV6
Source§impl Debug for LocalInterfaceV6
impl Debug for LocalInterfaceV6
impl Eq for LocalInterfaceV6
Source§impl PartialEq for LocalInterfaceV6
impl PartialEq for LocalInterfaceV6
impl StructuralPartialEq for LocalInterfaceV6
Auto Trait Implementations§
impl Freeze for LocalInterfaceV6
impl RefUnwindSafe for LocalInterfaceV6
impl Send for LocalInterfaceV6
impl Sync for LocalInterfaceV6
impl Unpin for LocalInterfaceV6
impl UnsafeUnpin for LocalInterfaceV6
impl UnwindSafe for LocalInterfaceV6
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.