pub enum LinkState {
Up,
Down,
Dormant,
Unknown,
}Expand description
Operational state of a link.
Variants§
Up
Carrier present and the interface is administratively up.
Down
Administratively down or no carrier.
Dormant
Waiting for an external event, e.g. an unassociated Wi-Fi interface.
Unknown
The platform did not report an operational state.
Implementations§
Trait Implementations§
impl Copy for LinkState
impl Eq for LinkState
impl StructuralPartialEq for LinkState
Auto Trait Implementations§
impl Freeze for LinkState
impl RefUnwindSafe for LinkState
impl Send for LinkState
impl Sync for LinkState
impl Unpin for LinkState
impl UnsafeUnpin for LinkState
impl UnwindSafe for LinkState
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