pub enum OpNewsetelemDoRequest<'a> {
Table(&'a CStr),
Set(&'a CStr),
Elements(IterableSetelemListElemAttrs<'a>),
SetId(u32),
}Available on crate feature
nftables only.Expand description
Create a new set element.
Variants§
Implementations§
Source§impl OpNewsetelemDoRequest<'_>
impl OpNewsetelemDoRequest<'_>
pub fn new<'a>( buf: &'a [u8], ) -> (PushNfgenmsg, IterableOpNewsetelemDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpNewsetelemDoRequest<'a>
impl<'a> Clone for OpNewsetelemDoRequest<'a>
Source§fn clone(&self) -> OpNewsetelemDoRequest<'a>
fn clone(&self) -> OpNewsetelemDoRequest<'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 OpNewsetelemDoRequest<'a>
impl<'a> RefUnwindSafe for OpNewsetelemDoRequest<'a>
impl<'a> Send for OpNewsetelemDoRequest<'a>
impl<'a> Sync for OpNewsetelemDoRequest<'a>
impl<'a> Unpin for OpNewsetelemDoRequest<'a>
impl<'a> UnwindSafe for OpNewsetelemDoRequest<'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