pub enum OpNewsetDoRequest<'a> {
}Available on crate feature
nftables only.Expand description
Create a new set.
Variants§
Table(&'a CStr)
table name
Name(&'a CStr)
set name
Flags(u32)
bitmask of enum nft_set_flags Associated type: “SetFlags” (enum)
KeyType(u32)
key data type, informational purpose only
KeyLen(u32)
key data length
DataType(u32)
mapping data type
DataLen(u32)
mapping data length
Policy(u32)
selection policy
Desc(IterableSetDescAttrs<'a>)
set description
Id(u32)
uniquely identifies a set in a transaction
Timeout(u64)
default timeout value
GcInterval(u32)
garbage collection interval
Userdata(&'a [u8])
user data
ObjType(u32)
stateful object type
Implementations§
Source§impl<'a> OpNewsetDoRequest<'a>
impl<'a> OpNewsetDoRequest<'a>
pub fn new(buf: &'a [u8]) -> (PushNfgenmsg, IterableOpNewsetDoRequest<'a>)
Trait Implementations§
Source§impl<'a> Clone for OpNewsetDoRequest<'a>
impl<'a> Clone for OpNewsetDoRequest<'a>
Source§fn clone(&self) -> OpNewsetDoRequest<'a>
fn clone(&self) -> OpNewsetDoRequest<'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 OpNewsetDoRequest<'a>
impl<'a> RefUnwindSafe for OpNewsetDoRequest<'a>
impl<'a> Send for OpNewsetDoRequest<'a>
impl<'a> Sync for OpNewsetDoRequest<'a>
impl<'a> Unpin for OpNewsetDoRequest<'a>
impl<'a> UnwindSafe for OpNewsetDoRequest<'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