[][src]Struct pcap_parser::data::NflogPacket

pub struct NflogPacket<'a> {
    pub header: NflogHdr,
    pub data: Vec<NflogTlv<'a>>,
}

Fields

header: NflogHdr

The nflog packet header

data: Vec<NflogTlv<'a>>

The objects (Type-Length-Value)

Implementations

impl<'a> NflogPacket<'a>[src]

pub fn get(&self, attr: NfAttrType) -> Option<&NflogTlv<'_>>[src]

pub fn get_payload(&self) -> Option<&[u8]>[src]

Trait Implementations

impl<'a> Debug for NflogPacket<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for NflogPacket<'a>[src]

impl<'a> Send for NflogPacket<'a>[src]

impl<'a> Sync for NflogPacket<'a>[src]

impl<'a> Unpin for NflogPacket<'a>[src]

impl<'a> UnwindSafe for NflogPacket<'a>[src]

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, 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.