pub struct PushCounterAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Implementations§
Source§impl<Prev: Rec> PushCounterAttrs<Prev>
impl<Prev: Rec> PushCounterAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_bytes(self, value: u64) -> Self
pub fn push_packets(self, value: u64) -> Self
pub fn push_pad(self, value: &[u8]) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushCounterAttrs<Prev>
impl<Prev: Rec> Drop for PushCounterAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushCounterAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushCounterAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushCounterAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushCounterAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushCounterAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushCounterAttrs<Prev>where
Prev: UnwindSafe,
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