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

pub enum Ifa {
    Unspec,
    Address,
    Local,
    Label,
    Broadcast,
    Anycast,
    Cacheinfo,
    Multicast,
    Flags,
    UnrecognizedVariant(c_ushort),
}

Enum usable with Rtattr field, rta_type. Values are interface address message attributes. Used with Ifaddrmsg.

Variants

Unspec
Address
Local
Label
Broadcast
Anycast
Cacheinfo
Multicast
Flags
UnrecognizedVariant(c_ushort)

Variant that signifies an invalid value while deserializing

Implementations

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

impl Copy for Ifa[src]

impl Debug for Ifa[src]

impl Eq for Ifa[src]

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

impl From<Ifa> for RtaTypeWrapper[src]

impl From<Ifa> for c_ushort[src]

impl From<u16> for Ifa[src]

impl Hash for Ifa[src]

impl Nl for Ifa[src]

impl Ord for Ifa[src]

impl PartialEq<Ifa> for Ifa[src]

impl PartialOrd<Ifa> for Ifa[src]

impl RtaType for Ifa[src]

impl StructuralEq for Ifa[src]

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