pub struct PushRuleCompatAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Implementations§
Source§impl<Prev: Rec> PushRuleCompatAttrs<Prev>
impl<Prev: Rec> PushRuleCompatAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_proto(self, value: u32) -> Self
pub fn push_proto(self, value: u32) -> Self
numeric value of the handled protocol
Sourcepub fn push_flags(self, value: u32) -> Self
pub fn push_flags(self, value: u32) -> Self
bitmask of flags
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushRuleCompatAttrs<Prev>
impl<Prev: Rec> Drop for PushRuleCompatAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushRuleCompatAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushRuleCompatAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushRuleCompatAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushRuleCompatAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushRuleCompatAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushRuleCompatAttrs<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