pub enum ChainFlags {
Base = 1,
HwOffload = 2,
Binding = 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 ChainFlags
impl ChainFlags
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for ChainFlags
impl Clone for ChainFlags
Source§fn clone(&self) -> ChainFlags
fn clone(&self) -> ChainFlags
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 ChainFlags
impl Debug for ChainFlags
impl Copy for ChainFlags
Auto Trait Implementations§
impl Freeze for ChainFlags
impl RefUnwindSafe for ChainFlags
impl Send for ChainFlags
impl Sync for ChainFlags
impl Unpin for ChainFlags
impl UnsafeUnpin for ChainFlags
impl UnwindSafe for ChainFlags
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