pub enum NetState {
Unconfigured,
DhcpDiscovering,
Ready,
Error,
}Expand description
Network interface state.
Variants§
Unconfigured
Interface created, not configured.
DhcpDiscovering
DHCP discovery in progress.
Ready
IP address configured, ready for connections.
Error
Interface error.
Trait Implementations§
impl Copy for NetState
impl Eq for NetState
impl StructuralPartialEq for NetState
Auto Trait Implementations§
impl Freeze for NetState
impl RefUnwindSafe for NetState
impl Send for NetState
impl Sync for NetState
impl Unpin for NetState
impl UnwindSafe for NetState
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