Expand description
Details about the ipv4 address of an interface on this host
Fields
ip: Ipv4AddrThe IP address of the interface.
netmask: Ipv4AddrThe netmask of the interface.
broadcast: Option<Ipv4Addr>The broadcast address of the interface.
Implementations
sourceimpl Ifv4Addr
impl Ifv4Addr
sourcepub fn is_loopback(&self) -> bool
pub fn is_loopback(&self) -> bool
Check whether this is a loopback address.
Trait Implementations
impl Eq for Ifv4Addr
impl StructuralEq for Ifv4Addr
impl StructuralPartialEq for Ifv4Addr
Auto Trait Implementations
impl RefUnwindSafe for Ifv4Addr
impl Send for Ifv4Addr
impl Sync for Ifv4Addr
impl Unpin for Ifv4Addr
impl UnwindSafe for Ifv4Addr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more