pub enum QuotaFlags {
Invert = 1,
Depleted = 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 QuotaFlags
impl QuotaFlags
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for QuotaFlags
impl Clone for QuotaFlags
Source§fn clone(&self) -> QuotaFlags
fn clone(&self) -> QuotaFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuotaFlags
Auto Trait Implementations§
impl Freeze for QuotaFlags
impl RefUnwindSafe for QuotaFlags
impl Send for QuotaFlags
impl Sync for QuotaFlags
impl Unpin for QuotaFlags
impl UnsafeUnpin for QuotaFlags
impl UnwindSafe for QuotaFlags
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