pub struct Interface {
pub name: String,
pub addr: IfAddr,
pub description: String,
pub ifa_flags: u32,
pub scope_id: u32,
}
Expand description
Details about an interface on this host
Fields§
§name: String
The name of the interface.
addr: IfAddr
The address details of the interface.
description: String
§ifa_flags: u32
§scope_id: u32
Implementations§
Trait Implementations§
impl Eq for Interface
impl StructuralPartialEq for Interface
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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