pub struct BlobGcReachability {
pub live_blobs: Vec<BlobRef>,
pub live_blob_count: usize,
pub live_blob_bytes: u64,
pub scanned_nodes: usize,
pub scanned_values: usize,
}Expand description
Live blob set discovered from one or more retained tree roots.
Fields§
§live_blobs: Vec<BlobRef>Reachable content-addressed blob references, sorted by CID bytes.
live_blob_count: usizeNumber of unique reachable blobs.
live_blob_bytes: u64Total byte weight of unique reachable blobs.
scanned_nodes: usizeNumber of reachable tree nodes scanned while marking blob references.
scanned_values: usizeNumber of reachable leaf values inspected while marking blob references.
Implementations§
Trait Implementations§
Source§impl Clone for BlobGcReachability
impl Clone for BlobGcReachability
Source§fn clone(&self) -> BlobGcReachability
fn clone(&self) -> BlobGcReachability
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 moreSource§impl Debug for BlobGcReachability
impl Debug for BlobGcReachability
Source§impl Default for BlobGcReachability
impl Default for BlobGcReachability
Source§fn default() -> BlobGcReachability
fn default() -> BlobGcReachability
Returns the “default value” for a type. Read more
impl Eq for BlobGcReachability
Source§impl PartialEq for BlobGcReachability
impl PartialEq for BlobGcReachability
impl StructuralPartialEq for BlobGcReachability
Auto Trait Implementations§
impl Freeze for BlobGcReachability
impl RefUnwindSafe for BlobGcReachability
impl Send for BlobGcReachability
impl Sync for BlobGcReachability
impl Unpin for BlobGcReachability
impl UnsafeUnpin for BlobGcReachability
impl UnwindSafe for BlobGcReachability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more