pub enum OpGetchainDoReply<'a> {
Table(&'a CStr),
Handle(u64),
Name(&'a CStr),
Hook(IterableNftHookAttrs<'a>),
Policy(u32),
Use(u32),
Type(&'a CStr),
Counters(IterableNftCounterAttrs<'a>),
Flags(u32),
Id(u32),
Userdata(&'a [u8]),
}Available on crate feature
nftables only.Expand description
Get / dump chains.
Variants§
Table(&'a CStr)
name of the table containing the chain
Handle(u64)
numeric handle of the chain
Name(&'a CStr)
name of the chain
Hook(IterableNftHookAttrs<'a>)
hook specification for basechains
Policy(u32)
numeric policy of the chain
Use(u32)
number of references to this chain
Type(&'a CStr)
type name of the chain
Counters(IterableNftCounterAttrs<'a>)
counter specification of the chain
Flags(u32)
chain flags Associated type: “ChainFlags” (1 bit per enumeration)
Id(u32)
uniquely identifies a chain in a transaction
Userdata(&'a [u8])
user data
Implementations§
Source§impl OpGetchainDoReply<'_>
impl OpGetchainDoReply<'_>
pub fn new<'a>(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpGetchainDoReply<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpGetchainDoReply<'a>
impl<'a> Clone for OpGetchainDoReply<'a>
Source§fn clone(&self) -> OpGetchainDoReply<'a>
fn clone(&self) -> OpGetchainDoReply<'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 OpGetchainDoReply<'a>
impl<'a> RefUnwindSafe for OpGetchainDoReply<'a>
impl<'a> Send for OpGetchainDoReply<'a>
impl<'a> Sync for OpGetchainDoReply<'a>
impl<'a> Unpin for OpGetchainDoReply<'a>
impl<'a> UnwindSafe for OpGetchainDoReply<'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