pub enum OpGetcompatDoRequest<'a> {
Name(&'a CStr),
Rev(u32),
Type(u32),
}Available on crate feature
nftables only.Expand description
Get / dump nft_compat info
Variants§
Implementations§
Source§impl<'a> OpGetcompatDoRequest<'a>
impl<'a> OpGetcompatDoRequest<'a>
pub fn new(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpGetcompatDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpGetcompatDoRequest<'a>
impl<'a> Clone for OpGetcompatDoRequest<'a>
Source§fn clone(&self) -> OpGetcompatDoRequest<'a>
fn clone(&self) -> OpGetcompatDoRequest<'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 OpGetcompatDoRequest<'a>
impl<'a> RefUnwindSafe for OpGetcompatDoRequest<'a>
impl<'a> Send for OpGetcompatDoRequest<'a>
impl<'a> Sync for OpGetcompatDoRequest<'a>
impl<'a> Unpin for OpGetcompatDoRequest<'a>
impl<'a> UnwindSafe for OpGetcompatDoRequest<'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