pub struct Interface {
pub name: String,
pub addr: IfAddr,
pub index: Option<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.
index: Option<u32>
The index of the interface.
Implementations§
Trait Implementations§
source§impl PartialEq for Interface
impl PartialEq for Interface
impl Eq for Interface
impl StructuralEq for Interface
impl StructuralPartialEq for Interface
Auto Trait Implementations§
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