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