pub struct PushOpGetobjDoReply<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Expand description
Get / dump stateful objects.
Implementations§
Source§impl<Prev: Rec> PushOpGetobjDoReply<Prev>
impl<Prev: Rec> PushOpGetobjDoReply<Prev>
pub fn new(prev: Prev, header: &PushNfgenmsg) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_table(self, value: &CStr) -> Self
pub fn push_table(self, value: &CStr) -> Self
name of the table containing the expression
Sourcepub fn push_table_bytes(self, value: &[u8]) -> Self
pub fn push_table_bytes(self, value: &[u8]) -> Self
name of the table containing the expression
Sourcepub fn push_name_bytes(self, value: &[u8]) -> Self
pub fn push_name_bytes(self, value: &[u8]) -> Self
name of this expression type
Sourcepub fn push_type(self, value: u32) -> Self
pub fn push_type(self, value: u32) -> Self
stateful object type Associated type: “ObjectType” (enum)
Sourcepub fn nested_data_counter(self) -> PushCounterAttrs<PushDummy<Prev>>
pub fn nested_data_counter(self) -> PushCounterAttrs<PushDummy<Prev>>
stateful object data Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_quota(self) -> PushQuotaAttrs<PushDummy<Prev>>
pub fn nested_data_quota(self) -> PushQuotaAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn push_handle(self, value: u64) -> Self
pub fn push_handle(self, value: u64) -> Self
object handle
Sourcepub fn push_userdata(self, value: &[u8]) -> Self
pub fn push_userdata(self, value: &[u8]) -> Self
user data
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushOpGetobjDoReply<Prev>
impl<Prev: Rec> Drop for PushOpGetobjDoReply<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushOpGetobjDoReply<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushOpGetobjDoReply<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushOpGetobjDoReply<Prev>where
Prev: Send,
impl<Prev> Sync for PushOpGetobjDoReply<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushOpGetobjDoReply<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushOpGetobjDoReply<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