pub struct BlockGroupItem {
pub used: u64,
pub chunk_objectid: u64,
pub flags: BlockGroupFlags,
}Expand description
Block group descriptor, tracking space usage for a chunk.
Key: (logical_offset, BLOCK_GROUP_ITEM, length).
Fields§
§used: u64Bytes used within this block group.
chunk_objectid: u64Objectid of the chunk that backs this block group.
flags: BlockGroupFlagsType and RAID profile flags (DATA, METADATA, SYSTEM, DUP, RAID*, etc.).
Implementations§
Trait Implementations§
Source§impl Clone for BlockGroupItem
impl Clone for BlockGroupItem
Source§fn clone(&self) -> BlockGroupItem
fn clone(&self) -> BlockGroupItem
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 BlockGroupItem
impl RefUnwindSafe for BlockGroupItem
impl Send for BlockGroupItem
impl Sync for BlockGroupItem
impl Unpin for BlockGroupItem
impl UnsafeUnpin for BlockGroupItem
impl UnwindSafe for BlockGroupItem
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