pub struct PushExprLookupAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Implementations§
Source§impl<Prev: Rec> PushExprLookupAttrs<Prev>
impl<Prev: Rec> PushExprLookupAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_set_bytes(self, value: &[u8]) -> Self
pub fn push_set_bytes(self, value: &[u8]) -> Self
Name of set to use
Sourcepub fn push_set_id(self, value: u32) -> Self
pub fn push_set_id(self, value: u32) -> Self
ID of set to use
pub fn push_sreg(self, value: u32) -> Self
pub fn push_dreg(self, value: u32) -> Self
Sourcepub fn push_flags(self, value: u32) -> Self
pub fn push_flags(self, value: u32) -> Self
Associated type: “LookupFlags” (enum)
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushExprLookupAttrs<Prev>
impl<Prev: Rec> Drop for PushExprLookupAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushExprLookupAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushExprLookupAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushExprLookupAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushExprLookupAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushExprLookupAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushExprLookupAttrs<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