pub enum OpDestroyobjDoRequest<'a> {
Table(&'a CStr),
Name(&'a CStr),
Type(u32),
Handle(u64),
}Available on crate feature
nftables only.Expand description
Delete an existing stateful object with destroy semantics.
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)
Handle(u64)
object handle
Implementations§
Source§impl<'a> OpDestroyobjDoRequest<'a>
impl<'a> OpDestroyobjDoRequest<'a>
pub fn new(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpDestroyobjDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpDestroyobjDoRequest<'a>
impl<'a> Clone for OpDestroyobjDoRequest<'a>
Source§fn clone(&self) -> OpDestroyobjDoRequest<'a>
fn clone(&self) -> OpDestroyobjDoRequest<'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 OpDestroyobjDoRequest<'a>
impl<'a> RefUnwindSafe for OpDestroyobjDoRequest<'a>
impl<'a> Send for OpDestroyobjDoRequest<'a>
impl<'a> Sync for OpDestroyobjDoRequest<'a>
impl<'a> Unpin for OpDestroyobjDoRequest<'a>
impl<'a> UnwindSafe for OpDestroyobjDoRequest<'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