[][src]Enum nfq::Verdict

pub enum Verdict {
    Drop,
    Accept,
    Queue(u16),
    Repeat,
    Stop,
}

Decision made on a specific packet.

Variants

Drop

Discard the packet

Accept

Accept the packet, continue iterations

Queue(u16)

Inject the packet into a different queue

Repeat

Iterate the same cycle once more

Stop

Accept the packet, but don't continue iterations

Trait Implementations

impl Clone for Verdict[src]

impl Copy for Verdict[src]

impl Eq for Verdict[src]

impl PartialEq<Verdict> for Verdict[src]

impl StructuralEq for Verdict[src]

impl StructuralPartialEq for Verdict[src]

Auto Trait Implementations

impl RefUnwindSafe for Verdict

impl Send for Verdict

impl Sync for Verdict

impl Unpin for Verdict

impl UnwindSafe for Verdict

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.