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

pub enum Ifla {
    Unspec,
    Address,
    Broadcast,
    Ifname,
    Mtu,
    Link,
    Qdisc,
    Stats,
    Cost,
    Priority,
    Master,
    Wireless,
    Protinfo,
    Txqlen,
    Map,
    Weight,
    Operstate,
    Linkmode,
    Linkinfo,
    NetNsPid,
    Ifalias,
    NumVf,
    VfinfoList,
    Stats64,
    VfPorts,
    PortSelf,
    AfSpec,
    Group,
    NetNsFd,
    ExtMask,
    Promiscuity,
    NumTxQueues,
    NumRxQueues,
    Carrier,
    PhysPortId,
    CarrierChanges,
    PhysSwitchId,
    LinkNetnsid,
    PhysPortName,
    ProtoDown,
    UnrecognizedVariant(c_ushort),
}

Enum for use with Rtattr.rta_type. Values are interface information message attributes. Used with Ifinfomsg.

Variants

Unspec
Address
Broadcast
Ifname
Mtu
Qdisc
Stats
Cost
Priority
Master
Wireless
Protinfo
Txqlen
Map
Weight
Operstate
Linkmode
Linkinfo
NetNsPid
Ifalias
NumVf
VfinfoList
Stats64
VfPorts
PortSelf
AfSpec
Group
NetNsFd
ExtMask
Promiscuity
NumTxQueues
NumRxQueues
Carrier
PhysPortId
CarrierChanges
PhysSwitchId
LinkNetnsid
PhysPortName
ProtoDown
UnrecognizedVariant(c_ushort)

Variant that signifies an invalid value while deserializing

Trait Implementations

impl Clone for Ifla[src]

impl Debug for Ifla[src]

impl Eq for Ifla[src]

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

impl From<Ifla> for c_ushort[src]

impl From<u16> for Ifla[src]

impl Hash for Ifla[src]

impl Nl for Ifla[src]

impl Ord for Ifla[src]

impl PartialEq<Ifla> for Ifla[src]

impl PartialOrd<Ifla> for Ifla[src]

impl RtaType for Ifla[src]

impl StructuralEq for Ifla[src]

impl StructuralPartialEq for Ifla[src]

Auto Trait Implementations

impl RefUnwindSafe for Ifla

impl Send for Ifla

impl Sync for Ifla

impl Unpin for Ifla

impl UnwindSafe for Ifla

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.