pub struct PrewarmStats {
pub hashes_discovered: u64,
pub hashes_visited: u64,
pub already_cached: u64,
pub loaded: u64,
pub completed: bool,
}Expand description
Cumulative outcome of a prewarm pass. Returned from
PrewarmHandle::wait.
Fields§
§hashes_discovered: u64Blob hashes the tree walk discovered (file + symlink entries across every reachable tree).
hashes_visited: u64Hashes the workers tried to hydrate. Equal to hashes_discovered
for a run that completed, less when workers exited early
because the cache filled up or the caller cancelled.
already_cached: u64Hashes that hit the cache (sibling mount already warmed them — the fork-thread fast path).
loaded: u64Hashes loaded from the object store and inserted into the cache by this pass.
completed: boolWhether the pass terminated naturally vs. early-stopped on cache fill / cancel.
Trait Implementations§
Source§impl Clone for PrewarmStats
impl Clone for PrewarmStats
Source§fn clone(&self) -> PrewarmStats
fn clone(&self) -> PrewarmStats
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 PrewarmStats
Source§impl Debug for PrewarmStats
impl Debug for PrewarmStats
Source§impl Default for PrewarmStats
impl Default for PrewarmStats
Source§fn default() -> PrewarmStats
fn default() -> PrewarmStats
Returns the “default value” for a type. Read more
impl Eq for PrewarmStats
Source§impl PartialEq for PrewarmStats
impl PartialEq for PrewarmStats
Source§fn eq(&self, other: &PrewarmStats) -> bool
fn eq(&self, other: &PrewarmStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrewarmStats
Auto Trait Implementations§
impl Freeze for PrewarmStats
impl RefUnwindSafe for PrewarmStats
impl Send for PrewarmStats
impl Sync for PrewarmStats
impl Unpin for PrewarmStats
impl UnsafeUnpin for PrewarmStats
impl UnwindSafe for PrewarmStats
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.