[][src]Enum neli::consts::netfilter::NfLogAttr

pub enum NfLogAttr {
    PacketHdr,
    Mark,
    Timestamp,
    IfindexIndev,
    IfindexOutdev,
    IfindexPhyindev,
    IfindexPhyoutdev,
    Hwaddr,
    Payload,
    Prefix,
    Uid,
    Seq,
    SeqGlobal,
    Gid,
    Hwtype,
    Hwheader,
    Hwlen,
    Ct,
    CtInfo,
    UnrecognizedVariant(u16),
}

Attributes inside a netfilter log packet message.

These are send by the kernel and describe a logged packet.

Variants

PacketHdr
Mark
Timestamp
IfindexIndev
IfindexOutdev
IfindexPhyindev
IfindexPhyoutdev
Hwaddr
Payload
Prefix
Uid
Seq
SeqGlobal
Gid
Hwtype
Hwheader
Hwlen
Ct
CtInfo
UnrecognizedVariant(u16)

Variant that signifies an invalid value while deserializing

Implementations

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

impl Copy for NfLogAttr[src]

impl Debug for NfLogAttr[src]

impl Eq for NfLogAttr[src]

impl<'a> From<&'a NfLogAttr> for u16[src]

impl From<NfLogAttr> for NlAttrTypeWrapper[src]

impl From<NfLogAttr> for u16[src]

impl From<u16> for NfLogAttr[src]

impl Hash for NfLogAttr[src]

impl Nl for NfLogAttr[src]

impl NlAttrType for NfLogAttr[src]

impl Ord for NfLogAttr[src]

impl PartialEq<NfLogAttr> for NfLogAttr[src]

impl PartialOrd<NfLogAttr> for NfLogAttr[src]

impl StructuralEq for NfLogAttr[src]

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