pub struct Ifv4Addr {
pub ip: Ipv4Addr,
pub netmask: Ipv4Addr,
pub broadcast: Option<Ipv4Addr>,
}
Expand description
Details about the ipv4 address of an interface on this host
Fields§
§ip: Ipv4Addr
The IP address of the interface.
netmask: Ipv4Addr
The netmask of the interface.
broadcast: Option<Ipv4Addr>
The broadcast address of the interface.
Implementations§
Trait Implementations§
impl Eq for Ifv4Addr
impl StructuralPartialEq for Ifv4Addr
Auto Trait Implementations§
impl Freeze for Ifv4Addr
impl RefUnwindSafe for Ifv4Addr
impl Send for Ifv4Addr
impl Sync for Ifv4Addr
impl Unpin for Ifv4Addr
impl UnwindSafe for Ifv4Addr
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