pub struct Flags {
pub up: bool,
pub loopback: bool,
pub running: bool,
pub multicast: bool,
pub broadcast: bool,
}Expand description
Interface flags
Fields§
§up: boolInterface is administratively up
loopback: boolInterface is a loopback device
running: boolInterface has resources allocated (operational)
multicast: boolInterface supports multicasting
broadcast: boolInterface supports broadcast
Trait Implementations§
impl Copy for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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