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: StringThe name of the interface.
addr: IfAddrThe address details of the interface.
description: Stringifa_flags: u32scope_id: u32Implementations
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more