pub struct LocalInterfaceV4 {
pub name: String,
pub address: Ipv4Addr,
}Expand description
A local IPv4 address that a multicast socket can be bound to.
Fields§
§name: StringThe name of the interface, only used for logging.
address: Ipv4AddrThe IPv4 address of the interface, used to join the multicast group.
Trait Implementations§
Source§impl Clone for LocalInterfaceV4
impl Clone for LocalInterfaceV4
Source§impl Debug for LocalInterfaceV4
impl Debug for LocalInterfaceV4
impl Eq for LocalInterfaceV4
Source§impl PartialEq for LocalInterfaceV4
impl PartialEq for LocalInterfaceV4
impl StructuralPartialEq for LocalInterfaceV4
Auto Trait Implementations§
impl Freeze for LocalInterfaceV4
impl RefUnwindSafe for LocalInterfaceV4
impl Send for LocalInterfaceV4
impl Sync for LocalInterfaceV4
impl Unpin for LocalInterfaceV4
impl UnsafeUnpin for LocalInterfaceV4
impl UnwindSafe for LocalInterfaceV4
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.