Enum rtnetlink::LinkState[][src]

pub enum LinkState {
    Unknown,
    NotPresent,
    Down,
    LowerLayerDown,
    Testing,
    Dormant,
    Up,
    Other(u8),
}

Variants

Status can't be determined

Some component is missing

Down

Down due to state of lower layer

In some test mode

Not up but pending an external event

Up, ready to send packets

Unrecognized value. This should go away when TryFrom is stable in Rust

Trait Implementations

impl Debug for LinkState
[src]

Formats the value using the given formatter. Read more

impl Clone for LinkState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LinkState
[src]

impl Eq for LinkState
[src]

impl PartialEq for LinkState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u8> for LinkState
[src]

Performs the conversion.

impl From<LinkState> for u8
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for LinkState

impl Sync for LinkState