Enum netlink_sys::rtnl::LinkState [−][src]
pub enum LinkState {
Unknown,
NotPresent,
Down,
LowerLayerDown,
Testing,
Dormant,
Up,
Other(u8),
}Variants
UnknownStatus can't be determined
NotPresentSome component is missing
DownDown
LowerLayerDownDown due to state of lower layer
TestingIn some test mode
DormantNot up but pending an external event
UpUp, ready to send packets
Other(u8)Unrecognized value. This should go away when TryFrom is stable in Rust
Trait Implementations
impl Debug for LinkState[src]
impl Debug for LinkStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for LinkState[src]
impl Clone for LinkStatefn clone(&self) -> LinkState[src]
fn clone(&self) -> LinkStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for LinkState[src]
impl Copy for LinkStateimpl Eq for LinkState[src]
impl Eq for LinkStateimpl PartialEq for LinkState[src]
impl PartialEq for LinkStatefn eq(&self, other: &LinkState) -> bool[src]
fn eq(&self, other: &LinkState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LinkState) -> bool[src]
fn ne(&self, other: &LinkState) -> boolThis method tests for !=.
impl From<u8> for LinkState[src]
impl From<u8> for LinkStateimpl From<LinkState> for u8[src]
impl From<LinkState> for u8