[][src]Enum neli::consts::rtnl::RtTable

pub enum RtTable {
    Unspec,
    Compat,
    Default,
    Main,
    Local,
    UnrecognizedVariant(c_uchar),
}

rt_class_t Reserved route table identifiers

Variants

Unspec
Compat
Default
Main
Local
UnrecognizedVariant(c_uchar)

Variant that signifies an invalid value while deserializing

Implementations

impl RtTable[src]

pub fn is_unrecognized(&self) -> bool[src]

Returns true if no variant corresponds to the value it was parsed from

Trait Implementations

impl Clone for RtTable[src]

impl Copy for RtTable[src]

impl Debug for RtTable[src]

impl Eq for RtTable[src]

impl<'a> From<&'a RtTable> for c_uchar[src]

impl From<RtTable> for c_uchar[src]

impl From<u8> for RtTable[src]

impl Hash for RtTable[src]

impl Nl for RtTable[src]

impl Ord for RtTable[src]

impl PartialEq<RtTable> for RtTable[src]

impl PartialOrd<RtTable> for RtTable[src]

impl StructuralEq for RtTable[src]

impl StructuralPartialEq for RtTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.