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

pub enum LogCopyMode {
    None,
    Meta,
    Packet,
    UnrecognizedVariant(u8),
}

Copy mode of the logged packets.

Variants

None
Meta
Packet
UnrecognizedVariant(u8)

Variant that signifies an invalid value while deserializing

Implementations

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

impl Copy for LogCopyMode[src]

impl Debug for LogCopyMode[src]

impl Eq for LogCopyMode[src]

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

impl From<LogCopyMode> for u8[src]

impl From<u8> for LogCopyMode[src]

impl Hash for LogCopyMode[src]

impl Nl for LogCopyMode[src]

impl Ord for LogCopyMode[src]

impl PartialEq<LogCopyMode> for LogCopyMode[src]

impl PartialOrd<LogCopyMode> for LogCopyMode[src]

impl StructuralEq for LogCopyMode[src]

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