pub struct PushOpNewflowtableDoRequest<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Expand description
Create a new flow table.
Implementations§
Source§impl<Prev: Rec> PushOpNewflowtableDoRequest<Prev>
impl<Prev: Rec> PushOpNewflowtableDoRequest<Prev>
pub fn new(prev: Prev, header: &PushNfgenmsg) -> 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_flags(self, value: u32) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushOpNewflowtableDoRequest<Prev>
impl<Prev: Rec> Drop for PushOpNewflowtableDoRequest<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushOpNewflowtableDoRequest<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushOpNewflowtableDoRequest<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushOpNewflowtableDoRequest<Prev>where
Prev: Send,
impl<Prev> Sync for PushOpNewflowtableDoRequest<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushOpNewflowtableDoRequest<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushOpNewflowtableDoRequest<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