pub enum TableFlags {
Dormant = 1,
Owner = 2,
Persist = 4,
}Available on crate feature
nftables only.Expand description
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Variants§
Implementations§
Source§impl TableFlags
impl TableFlags
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for TableFlags
impl Clone for TableFlags
Source§fn clone(&self) -> TableFlags
fn clone(&self) -> TableFlags
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 moreSource§impl Debug for TableFlags
impl Debug for TableFlags
impl Copy for TableFlags
Auto Trait Implementations§
impl Freeze for TableFlags
impl RefUnwindSafe for TableFlags
impl Send for TableFlags
impl Sync for TableFlags
impl Unpin for TableFlags
impl UnwindSafe for TableFlags
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