pub struct VerifierStats {
pub total_blocks_registered: usize,
pub total_verifications_run: u64,
pub total_ok: u64,
pub total_corrupted: u64,
pub total_missing: u64,
}Expand description
Cumulative statistics across all verification operations.
Fields§
§total_blocks_registered: usizeTotal number of distinct blocks currently registered.
total_verifications_run: u64Total number of individual block verifications performed.
total_ok: u64Total verifications that returned Ok.
total_corrupted: u64Total verifications that returned Corrupted.
total_missing: u64Total verifications that returned Missing.
Trait Implementations§
Source§impl Clone for VerifierStats
impl Clone for VerifierStats
Source§fn clone(&self) -> VerifierStats
fn clone(&self) -> VerifierStats
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 VerifierStats
impl Debug for VerifierStats
Source§impl Default for VerifierStats
impl Default for VerifierStats
Source§fn default() -> VerifierStats
fn default() -> VerifierStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VerifierStats
impl RefUnwindSafe for VerifierStats
impl Send for VerifierStats
impl Sync for VerifierStats
impl Unpin for VerifierStats
impl UnsafeUnpin for VerifierStats
impl UnwindSafe for VerifierStats
Blanket Implementations§
impl<T> Allocation for T
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<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