pub enum OpGetobjDoReply<'a> {
Table(&'a CStr),
Name(&'a CStr),
Type(u32),
Data(ObjData<'a>),
Use(u32),
Handle(u64),
Userdata(&'a [u8]),
}Available on crate feature
nftables only.Expand description
Get / dump stateful objects.
Variants§
Table(&'a CStr)
name of the table containing the expression
Name(&'a CStr)
name of this expression type
Type(u32)
stateful object type Associated type: “ObjectType” (enum)
Data(ObjData<'a>)
stateful object data
Use(u32)
number of references to this expression
Handle(u64)
object handle
Userdata(&'a [u8])
user data
Implementations§
Source§impl<'a> OpGetobjDoReply<'a>
impl<'a> OpGetobjDoReply<'a>
pub fn new(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpGetobjDoReply<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpGetobjDoReply<'a>
impl<'a> Clone for OpGetobjDoReply<'a>
Source§fn clone(&self) -> OpGetobjDoReply<'a>
fn clone(&self) -> OpGetobjDoReply<'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 OpGetobjDoReply<'a>
impl<'a> RefUnwindSafe for OpGetobjDoReply<'a>
impl<'a> Send for OpGetobjDoReply<'a>
impl<'a> Sync for OpGetobjDoReply<'a>
impl<'a> Unpin for OpGetobjDoReply<'a>
impl<'a> UnwindSafe for OpGetobjDoReply<'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