pub struct QgroupStatus {
pub version: u64,
pub generation: u64,
pub flags: u64,
pub scan: u64,
pub enable_gen: Option<u64>,
}Expand description
Quota group status, stored in the quota tree.
Key: (0, QGROUP_STATUS, 0). Tracks the overall state of quota accounting.
Fields§
§version: u64Qgroup on-disk format version.
generation: u64Generation when quotas were last consistent.
flags: u64Status flags (e.g. rescan in progress).
scan: u64Progress objectid for an in-progress rescan.
enable_gen: Option<u64>Generation when quotas were enabled (kernel 6.8+, absent on older formats).
Implementations§
Trait Implementations§
Source§impl Clone for QgroupStatus
impl Clone for QgroupStatus
Source§fn clone(&self) -> QgroupStatus
fn clone(&self) -> QgroupStatus
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 Freeze for QgroupStatus
impl RefUnwindSafe for QgroupStatus
impl Send for QgroupStatus
impl Sync for QgroupStatus
impl Unpin for QgroupStatus
impl UnsafeUnpin for QgroupStatus
impl UnwindSafe for QgroupStatus
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