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§
source§impl PartialEq<Ifv4Addr> for Ifv4Addr
impl PartialEq<Ifv4Addr> for Ifv4Addr
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§
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