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

pub enum RtAddrFamily {
    Unspecified,
    UnixOrLocal,
    Inet,
    Inet6,
    Ipx,
    Netlink,
    X25,
    Ax25,
    Atmpvc,
    Appletalk,
    Packet,
    Alg,
    UnrecognizedVariant(u8),
}

General address families for sockets

Variants

Unspecified
UnixOrLocal
Inet
Inet6
Ipx
X25
Ax25
Atmpvc
Appletalk
Packet
Alg
UnrecognizedVariant(u8)

Variant that signifies an invalid value while deserializing

Implementations

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

impl Copy for RtAddrFamily[src]

impl Debug for RtAddrFamily[src]

impl Eq for RtAddrFamily[src]

impl<'a> From<&'a RtAddrFamily> for u8[src]

impl From<RtAddrFamily> for u8[src]

impl From<u8> for RtAddrFamily[src]

impl Hash for RtAddrFamily[src]

impl Nl for RtAddrFamily[src]

impl Ord for RtAddrFamily[src]

impl PartialEq<RtAddrFamily> for RtAddrFamily[src]

impl PartialOrd<RtAddrFamily> for RtAddrFamily[src]

impl StructuralEq for RtAddrFamily[src]

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