pub struct PushFlowtableAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Implementations§
Source§impl<Prev: Rec> PushFlowtableAttrs<Prev>
impl<Prev: Rec> PushFlowtableAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_table(self, value: &CStr) -> Self
pub fn push_table_bytes(self, value: &[u8]) -> Self
pub fn push_name(self, value: &CStr) -> Self
pub fn push_name_bytes(self, value: &[u8]) -> Self
pub fn nested_hook(self) -> PushFlowtableHookAttrs<Self>
pub fn push_use(self, value: u32) -> Self
pub fn push_handle(self, value: u64) -> Self
pub fn push_pad(self, value: &[u8]) -> Self
pub fn push_flags(self, value: u32) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushFlowtableAttrs<Prev>
impl<Prev: Rec> Drop for PushFlowtableAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushFlowtableAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushFlowtableAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushFlowtableAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushFlowtableAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushFlowtableAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushFlowtableAttrs<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