pub enum OpGetruleDoReply<'a> {
Table(&'a CStr),
Chain(&'a CStr),
Handle(u64),
Expressions(IterableExprListAttrs<'a>),
Position(u64),
Userdata(&'a [u8]),
}Available on crate feature
nftables only.Expand description
Get / dump rules.
Variants§
Table(&'a CStr)
name of the table containing the rule
Chain(&'a CStr)
name of the chain containing the rule
Handle(u64)
numeric handle of the rule
Expressions(IterableExprListAttrs<'a>)
list of expressions
Position(u64)
numeric handle of the previous rule
Userdata(&'a [u8])
user data
Implementations§
Source§impl OpGetruleDoReply<'_>
impl OpGetruleDoReply<'_>
pub fn new<'a>(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpGetruleDoReply<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpGetruleDoReply<'a>
impl<'a> Clone for OpGetruleDoReply<'a>
Source§fn clone(&self) -> OpGetruleDoReply<'a>
fn clone(&self) -> OpGetruleDoReply<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for OpGetruleDoReply<'a>
impl<'a> RefUnwindSafe for OpGetruleDoReply<'a>
impl<'a> Send for OpGetruleDoReply<'a>
impl<'a> Sync for OpGetruleDoReply<'a>
impl<'a> Unpin for OpGetruleDoReply<'a>
impl<'a> UnwindSafe for OpGetruleDoReply<'a>
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