pub struct ArtifactCachePruneReport { /* private fields */ }Expand description
Summary of one lock-coordinated artifact-cache pruning pass.
Implementations§
Source§impl ArtifactCachePruneReport
impl ArtifactCachePruneReport
Sourcepub const fn entries_scanned(self) -> usize
pub const fn entries_scanned(self) -> usize
Number of content-addressed directories considered for pruning.
Sourcepub const fn entries_removed(self) -> usize
pub const fn entries_removed(self) -> usize
Number of content-addressed directories removed.
Sourcepub const fn entries_retained(self) -> usize
pub const fn entries_retained(self) -> usize
Number of content-addressed directories retained.
Sourcepub const fn bytes_before(self) -> u64
pub const fn bytes_before(self) -> u64
Logical bytes occupied by scanned entries before pruning.
Sourcepub const fn bytes_removed(self) -> u64
pub const fn bytes_removed(self) -> u64
Logical bytes removed by pruning.
Sourcepub const fn bytes_retained(self) -> u64
pub const fn bytes_retained(self) -> u64
Logical bytes occupied by retained entries after pruning.
Sourcepub const fn uncommitted_directories_removed(self) -> usize
pub const fn uncommitted_directories_removed(self) -> usize
Abandoned transaction directories removed outside the committed-entry totals.
Sourcepub const fn uncommitted_bytes_removed(self) -> u64
pub const fn uncommitted_bytes_removed(self) -> u64
Logical bytes removed from abandoned transaction directories.
Trait Implementations§
Source§impl Clone for ArtifactCachePruneReport
impl Clone for ArtifactCachePruneReport
Source§fn clone(&self) -> ArtifactCachePruneReport
fn clone(&self) -> ArtifactCachePruneReport
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 moreimpl Copy for ArtifactCachePruneReport
Source§impl Debug for ArtifactCachePruneReport
impl Debug for ArtifactCachePruneReport
Source§impl Default for ArtifactCachePruneReport
impl Default for ArtifactCachePruneReport
Source§fn default() -> ArtifactCachePruneReport
fn default() -> ArtifactCachePruneReport
Returns the “default value” for a type. Read more
impl Eq for ArtifactCachePruneReport
Source§impl PartialEq for ArtifactCachePruneReport
impl PartialEq for ArtifactCachePruneReport
impl StructuralPartialEq for ArtifactCachePruneReport
Auto Trait Implementations§
impl Freeze for ArtifactCachePruneReport
impl RefUnwindSafe for ArtifactCachePruneReport
impl Send for ArtifactCachePruneReport
impl Sync for ArtifactCachePruneReport
impl Unpin for ArtifactCachePruneReport
impl UnsafeUnpin for ArtifactCachePruneReport
impl UnwindSafe for ArtifactCachePruneReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.