Enum network_interface::Addr
source · pub enum Addr {
V4(V4IfAddr),
V6(V6IfAddr),
}
Expand description
Network interface address
Variants§
V4(V4IfAddr)
IPV4 Interface from the AFINET network interface family
V6(V6IfAddr)
IPV6 Interface from the AFINET6 network interface family
Implementations§
Trait Implementations§
source§impl PartialEq for Addr
impl PartialEq for Addr
impl Copy for Addr
impl Eq for Addr
impl StructuralPartialEq for Addr
Auto Trait Implementations§
impl Freeze for Addr
impl RefUnwindSafe for Addr
impl Send for Addr
impl Sync for Addr
impl Unpin for Addr
impl UnwindSafe for Addr
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