pub struct PushExprObjrefAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Implementations§
Source§impl<Prev: Rec> PushExprObjrefAttrs<Prev>
impl<Prev: Rec> PushExprObjrefAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_imm_type(self, value: u32) -> Self
Sourcepub fn push_imm_name(self, value: &CStr) -> Self
pub fn push_imm_name(self, value: &CStr) -> Self
object name
Sourcepub fn push_imm_name_bytes(self, value: &[u8]) -> Self
pub fn push_imm_name_bytes(self, value: &[u8]) -> Self
object name
pub fn push_set_sreg(self, value: u32) -> Self
Sourcepub fn push_set_name(self, value: &CStr) -> Self
pub fn push_set_name(self, value: &CStr) -> Self
name of object map
Sourcepub fn push_set_name_bytes(self, value: &[u8]) -> Self
pub fn push_set_name_bytes(self, value: &[u8]) -> Self
name of object map
Sourcepub fn push_set_id(self, value: u32) -> Self
pub fn push_set_id(self, value: u32) -> Self
id of object map
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushExprObjrefAttrs<Prev>
impl<Prev: Rec> Drop for PushExprObjrefAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushExprObjrefAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushExprObjrefAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushExprObjrefAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushExprObjrefAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushExprObjrefAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushExprObjrefAttrs<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