pub enum OpGetruleDoRequest<'a> {
Table(&'a CStr),
Chain(&'a CStr),
Handle(u64),
}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
Implementations§
Source§impl<'a> OpGetruleDoRequest<'a>
impl<'a> OpGetruleDoRequest<'a>
pub fn new(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpGetruleDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpGetruleDoRequest<'a>
impl<'a> Clone for OpGetruleDoRequest<'a>
Source§fn clone(&self) -> OpGetruleDoRequest<'a>
fn clone(&self) -> OpGetruleDoRequest<'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 OpGetruleDoRequest<'a>
impl<'a> RefUnwindSafe for OpGetruleDoRequest<'a>
impl<'a> Send for OpGetruleDoRequest<'a>
impl<'a> Sync for OpGetruleDoRequest<'a>
impl<'a> Unpin for OpGetruleDoRequest<'a>
impl<'a> UnwindSafe for OpGetruleDoRequest<'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