pub struct CheckpointStats {
pub reused: usize,
pub hashed: usize,
pub dropped: usize,
pub sample: Vec<Drop>,
}Fields§
§reused: usizeFiles whose hash was reused via the stat cache (not read).
hashed: usizeFiles read, hashed, and (if new) stored.
dropped: usizeHow many paths the scan saw and did not store. Complete count.
sample: Vec<Drop>A few of them, with reasons — enough to print after a turn.
Bounded on purpose. This is what a CLI shows every turn (“3 files
were left out, e.g. data/dump.bin”), so it must have a length nobody
can be surprised by. The complete list is a separate question with a
separate reader, answered by crate::scan_report, which re-scans
rather than reading anything stored here (D23).
Trait Implementations§
Source§impl Clone for CheckpointStats
impl Clone for CheckpointStats
Source§fn clone(&self) -> CheckpointStats
fn clone(&self) -> CheckpointStats
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 CheckpointStats
impl Debug for CheckpointStats
Source§impl Default for CheckpointStats
impl Default for CheckpointStats
Source§fn default() -> CheckpointStats
fn default() -> CheckpointStats
Returns the “default value” for a type. Read more
impl Eq for CheckpointStats
Source§impl PartialEq for CheckpointStats
impl PartialEq for CheckpointStats
impl StructuralPartialEq for CheckpointStats
Auto Trait Implementations§
impl Freeze for CheckpointStats
impl RefUnwindSafe for CheckpointStats
impl Send for CheckpointStats
impl Sync for CheckpointStats
impl Unpin for CheckpointStats
impl UnsafeUnpin for CheckpointStats
impl UnwindSafe for CheckpointStats
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<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.