pub struct DiskDrift {
pub changed: usize,
pub deleted: usize,
pub untracked: usize,
}Expand description
How the database disagrees with the disk (§4.3 “Disk drift”).
Fields§
§changed: usizeCandidates whose live doc’s file_hash differs from the bytes’ hash.
deleted: usizeLive docs whose path is not on disk.
untracked: usizeCandidates with no live doc at that path.
Implementations§
Trait Implementations§
impl Copy for DiskDrift
impl Eq for DiskDrift
impl StructuralPartialEq for DiskDrift
Auto Trait Implementations§
impl Freeze for DiskDrift
impl RefUnwindSafe for DiskDrift
impl Send for DiskDrift
impl Sync for DiskDrift
impl Unpin for DiskDrift
impl UnsafeUnpin for DiskDrift
impl UnwindSafe for DiskDrift
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§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.