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§
Auto Trait Implementations§
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