pub struct IfAddrV4 {
pub ip: Ipv4Addr,
pub netmask: Option<Ipv4Addr>,
pub broadcast: Option<Ipv4Addr>,
}Expand description
IPv4 Interface from the AFINET network interface family
Fields§
§ip: Ipv4AddrThe IP address for this network interface
netmask: Option<Ipv4Addr>The netmask for this interface
broadcast: Option<Ipv4Addr>The broadcast address for this interface
Trait Implementations§
impl Copy for IfAddrV4
impl Eq for IfAddrV4
impl StructuralPartialEq for IfAddrV4
Auto Trait Implementations§
impl Freeze for IfAddrV4
impl RefUnwindSafe for IfAddrV4
impl Send for IfAddrV4
impl Sync for IfAddrV4
impl Unpin for IfAddrV4
impl UnwindSafe for IfAddrV4
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