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

pub enum Nda {
    Unspec,
    Dst,
    Lladdr,
    Cacheinfo,
    Probes,
    Vlan,
    Port,
    Vni,
    Ifindex,
    Master,
    LinkNetnsid,
    SrcVni,
    UnrecognizedVariant(c_ushort),
}

Enum usable with Rtattr field, rta_type. Values specify neighbor table attributes

Variants

Unspec
Dst
Lladdr
Cacheinfo
Probes
Vlan
Port
Vni
Ifindex
Master
LinkNetnsid
SrcVni
UnrecognizedVariant(c_ushort)

Variant that signifies an invalid value while deserializing

Implementations

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

impl Copy for Nda[src]

impl Debug for Nda[src]

impl Eq for Nda[src]

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

impl From<Nda> for RtaTypeWrapper[src]

impl From<Nda> for c_ushort[src]

impl From<u16> for Nda[src]

impl Hash for Nda[src]

impl Nl for Nda[src]

impl Ord for Nda[src]

impl PartialEq<Nda> for Nda[src]

impl PartialOrd<Nda> for Nda[src]

impl RtaType for Nda[src]

impl StructuralEq for Nda[src]

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