pub struct NflogPacket<'a> {
pub header: NflogHdr,
pub data: Vec<NflogTlv<'a>>,
}
Available on crate feature
data
only.Fields§
§header: NflogHdr
The nflog packet header
data: Vec<NflogTlv<'a>>
The objects (Type-Length-Value)
Implementations§
Source§impl NflogPacket<'_>
impl NflogPacket<'_>
pub fn get(&self, attr: NfAttrType) -> Option<&NflogTlv<'_>>
pub fn get_payload(&self) -> Option<&[u8]>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NflogPacket<'a>
impl<'a> RefUnwindSafe for NflogPacket<'a>
impl<'a> Send for NflogPacket<'a>
impl<'a> Sync for NflogPacket<'a>
impl<'a> Unpin for NflogPacket<'a>
impl<'a> UnwindSafe for NflogPacket<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more