pub struct WasmBuildCachePruneReport { /* private fields */ }Expand description
Summary of one lock-coordinated Wasm build-cache pruning pass.
Implementations§
Source§impl WasmBuildCachePruneReport
impl WasmBuildCachePruneReport
Sourcepub const fn entries_scanned(self) -> usize
pub const fn entries_scanned(self) -> usize
Number of fingerprint directories considered for pruning.
Sourcepub const fn entries_removed(self) -> usize
pub const fn entries_removed(self) -> usize
Number of fingerprint directories removed.
Sourcepub const fn entries_retained(self) -> usize
pub const fn entries_retained(self) -> usize
Number of fingerprint 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.
Trait Implementations§
Source§impl Clone for WasmBuildCachePruneReport
impl Clone for WasmBuildCachePruneReport
Source§fn clone(&self) -> WasmBuildCachePruneReport
fn clone(&self) -> WasmBuildCachePruneReport
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 WasmBuildCachePruneReport
Source§impl Debug for WasmBuildCachePruneReport
impl Debug for WasmBuildCachePruneReport
Source§impl Default for WasmBuildCachePruneReport
impl Default for WasmBuildCachePruneReport
Source§fn default() -> WasmBuildCachePruneReport
fn default() -> WasmBuildCachePruneReport
Returns the “default value” for a type. Read more
impl Eq for WasmBuildCachePruneReport
impl StructuralPartialEq for WasmBuildCachePruneReport
Auto Trait Implementations§
impl Freeze for WasmBuildCachePruneReport
impl RefUnwindSafe for WasmBuildCachePruneReport
impl Send for WasmBuildCachePruneReport
impl Sync for WasmBuildCachePruneReport
impl Unpin for WasmBuildCachePruneReport
impl UnsafeUnpin for WasmBuildCachePruneReport
impl UnwindSafe for WasmBuildCachePruneReport
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.