pub struct QgroupInfo {
pub qgroupid: u64,
pub rfer: u64,
pub rfer_cmpr: u64,
pub excl: u64,
pub excl_cmpr: u64,
pub limit_flags: QgroupLimitFlags,
pub max_rfer: u64,
pub max_excl: u64,
pub parents: Vec<u64>,
pub children: Vec<u64>,
pub stale: bool,
}Expand description
Usage and limit information for a single qgroup.
Fields§
§qgroupid: u64Packed qgroup ID: (level << 48) | subvolid.
rfer: u64Total referenced bytes (includes shared data).
rfer_cmpr: u64Referenced bytes after compression.
excl: u64Exclusively-owned bytes (not shared with any other subvolume).
excl_cmpr: u64Exclusively-owned bytes after compression.
limit_flags: QgroupLimitFlagsLimit flags — which of the limit fields below are enforced.
max_rfer: u64Maximum referenced bytes. u64::MAX when no limit is set.
max_excl: u64Maximum exclusive bytes. u64::MAX when no limit is set.
parents: Vec<u64>IDs of qgroups that are parents of this one in the hierarchy.
children: Vec<u64>IDs of qgroups that are children of this one in the hierarchy.
stale: boolLevel-0 only: true when the corresponding subvolume no longer
exists (this is a “stale” qgroup left behind after deletion).
Trait Implementations§
Source§impl Clone for QgroupInfo
impl Clone for QgroupInfo
Source§fn clone(&self) -> QgroupInfo
fn clone(&self) -> QgroupInfo
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 QgroupInfo
impl RefUnwindSafe for QgroupInfo
impl Send for QgroupInfo
impl Sync for QgroupInfo
impl Unpin for QgroupInfo
impl UnsafeUnpin for QgroupInfo
impl UnwindSafe for QgroupInfo
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