pub enum OpDestroytableDoRequest<'a> {
Name(&'a CStr),
Handle(u64),
}Available on crate feature
nftables only.Expand description
Delete an existing table with destroy semantics (ignoring ENOENT errors).
Variants§
Implementations§
Source§impl<'a> OpDestroytableDoRequest<'a>
impl<'a> OpDestroytableDoRequest<'a>
pub fn new(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpDestroytableDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpDestroytableDoRequest<'a>
impl<'a> Clone for OpDestroytableDoRequest<'a>
Source§fn clone(&self) -> OpDestroytableDoRequest<'a>
fn clone(&self) -> OpDestroytableDoRequest<'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 OpDestroytableDoRequest<'a>
impl<'a> RefUnwindSafe for OpDestroytableDoRequest<'a>
impl<'a> Send for OpDestroytableDoRequest<'a>
impl<'a> Sync for OpDestroytableDoRequest<'a>
impl<'a> Unpin for OpDestroytableDoRequest<'a>
impl<'a> UnwindSafe for OpDestroytableDoRequest<'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