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

pub enum Tca {
    Unspec,
    Kind,
    Options,
    Stats,
    Xstats,
    Rate,
    Fcnt,
    Stats2,
    Stab,
    UnrecognizedVariant(c_ushort),
}

Enum usable with Rtattr field, rta_type. Values specify queuing discipline attributes. Used with Tcmsg.

Variants

Unspec
Kind
Options
Stats
Xstats
Rate
Fcnt
Stats2
Stab
UnrecognizedVariant(c_ushort)

Variant that signifies an invalid value while deserializing

Implementations

impl Tca[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 Tca[src]

impl Copy for Tca[src]

impl Debug for Tca[src]

impl Eq for Tca[src]

impl<'a> From<&'a Tca> for c_ushort[src]

impl From<Tca> for RtaTypeWrapper[src]

impl From<Tca> for c_ushort[src]

impl From<u16> for Tca[src]

impl Hash for Tca[src]

impl Nl for Tca[src]

impl Ord for Tca[src]

impl PartialEq<Tca> for Tca[src]

impl PartialOrd<Tca> for Tca[src]

impl RtaType for Tca[src]

impl StructuralEq for Tca[src]

impl StructuralPartialEq for Tca[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.