pub enum FlowtableAttrs<'a> {
Table(&'a CStr),
Name(&'a CStr),
Hook(IterableFlowtableHookAttrs<'a>),
Use(u32),
Handle(u64),
Pad(&'a [u8]),
Flags(u32),
}Available on crate feature
nftables only.Variants§
Table(&'a CStr)
Name(&'a CStr)
Hook(IterableFlowtableHookAttrs<'a>)
Use(u32)
Handle(u64)
Pad(&'a [u8])
Flags(u32)
Implementations§
Source§impl<'a> FlowtableAttrs<'a>
impl<'a> FlowtableAttrs<'a>
pub fn new(buf: &'a [u8]) -> IterableFlowtableAttrs<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for FlowtableAttrs<'a>
impl<'a> Clone for FlowtableAttrs<'a>
Source§fn clone(&self) -> FlowtableAttrs<'a>
fn clone(&self) -> FlowtableAttrs<'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 FlowtableAttrs<'a>
impl<'a> RefUnwindSafe for FlowtableAttrs<'a>
impl<'a> Send for FlowtableAttrs<'a>
impl<'a> Sync for FlowtableAttrs<'a>
impl<'a> Unpin for FlowtableAttrs<'a>
impl<'a> UnwindSafe for FlowtableAttrs<'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