pub struct MirrorStats {
pub inserted: u64,
pub scanned: u64,
pub new_offset: u64,
}Expand description
Statistics returned by a single mirror_file call.
Fields§
§inserted: u64Number of new message rows inserted (0 if all were already present).
scanned: u64Number of complete lines scanned (including duplicates).
new_offset: u64Byte offset advanced to (only past complete lines; partial trailing line excluded).
Trait Implementations§
Source§impl Clone for MirrorStats
impl Clone for MirrorStats
Source§fn clone(&self) -> MirrorStats
fn clone(&self) -> MirrorStats
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 MirrorStats
impl Debug for MirrorStats
Source§impl Default for MirrorStats
impl Default for MirrorStats
Source§fn default() -> MirrorStats
fn default() -> MirrorStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for MirrorStats
impl PartialEq for MirrorStats
impl StructuralPartialEq for MirrorStats
Auto Trait Implementations§
impl Freeze for MirrorStats
impl RefUnwindSafe for MirrorStats
impl Send for MirrorStats
impl Sync for MirrorStats
impl Unpin for MirrorStats
impl UnsafeUnpin for MirrorStats
impl UnwindSafe for MirrorStats
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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