pub struct BatchStats {
pub created_or_renamed: u32,
pub deleted: u32,
pub stat_updated: u32,
pub ignored: u32,
pub stat_failures: u32,
}Expand description
Outcome tally for one applied journal batch, one counter per op kind.
Fields§
§created_or_renamed: u32Files/dirs created or renamed (upserted or moved in place).
deleted: u32Entries removed from the index because they were tombstoned.
stat_updated: u32Existing entries whose size/mtime were refreshed.
ignored: u32Records that resolved to no index change (e.g. delete of an entry that was never present, or a stat with no fetchable value).
stat_failures: u32Volume lookups (size/mtime) that came back empty — usually the file vanished before we could stat it; floods indicate a real problem.
Trait Implementations§
Source§impl Debug for BatchStats
impl Debug for BatchStats
Source§impl Default for BatchStats
impl Default for BatchStats
Source§fn default() -> BatchStats
fn default() -> BatchStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchStats
impl PartialEq for BatchStats
impl Eq for BatchStats
impl StructuralPartialEq for BatchStats
Auto Trait Implementations§
impl Freeze for BatchStats
impl RefUnwindSafe for BatchStats
impl Send for BatchStats
impl Sync for BatchStats
impl Unpin for BatchStats
impl UnsafeUnpin for BatchStats
impl UnwindSafe for BatchStats
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more