pub struct SpaceReport {
pub container: u64,
pub regions: u64,
pub released: u64,
pub reserved: u64,
pub tags: Vec<TagSpace>,
}Expand description
Where a store’s space goes.
Fields§
§container: u64Bytes the container file holds.
regions: u64Bytes held by ready regions, headers included, and by provisionings and growths filling now (format 2: marked before their commit). Format 2 also counts an unavailable region whose entry passes the entry checks, by its capacity and headers (its span stays allocated either way).
released: u64Format 1: bytes of released regions, reused by a later region of exactly the same size. Format 2: free bytes inside the container, usable by any region (the complement of everything allocated, less what reservations hold).
reserved: u64Bytes reserved and not yet provisioned.
Usage per tag, in tag order.
Trait Implementations§
Source§impl Clone for SpaceReport
impl Clone for SpaceReport
Source§impl Debug for SpaceReport
impl Debug for SpaceReport
Source§impl Default for SpaceReport
impl Default for SpaceReport
impl Eq for SpaceReport
Source§impl PartialEq for SpaceReport
impl PartialEq for SpaceReport
impl StructuralPartialEq for SpaceReport
Auto Trait Implementations§
impl Forget for SpaceReport
impl Freeze for SpaceReport
impl Move for SpaceReport
impl RefUnwindSafe for SpaceReport
impl Send for SpaceReport
impl Sync for SpaceReport
impl Unpin for SpaceReport
impl UnsafeUnpin for SpaceReport
impl UnwindSafe for SpaceReport
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