pub(crate) struct VerifiedReadWork {
pub(crate) exact_verifications: u64,
pub(crate) filesystem_entries: u64,
pub(crate) filesystem_bytes: u64,
pub(crate) sqlite_read_statements: u64,
pub(crate) decoded_nodes: u64,
pub(crate) retries: u64,
pub(crate) elapsed: Duration,
pub(crate) output_bytes: u64,
}Expand description
Measured freshness work consumed before one result was accepted.
Fields§
§exact_verifications: u64Exact full-source verifications performed for this accepted call.
filesystem_entries: u64Repository entries inspected by exact verification.
filesystem_bytes: u64Repository source bytes hashed by exact verification.
sqlite_read_statements: u64SQLite read statements owned directly by freshness verification.
decoded_nodes: u64Full indexed-node rows decoded by freshness verification.
retries: u64Provisional query results discarded after an overlapping invalidation.
elapsed: DurationWall time for verification, bounded query construction, and acceptance.
output_bytes: u64Rendered result bytes supplied by the adapter after acceptance.
Implementations§
Source§impl VerifiedReadWork
impl VerifiedReadWork
Sourcefn add_exact(&mut self, work: SourceVerificationWork)
fn add_exact(&mut self, work: SourceVerificationWork)
Accumulate one exact source verification into this accepted call’s work.
Trait Implementations§
Source§impl Clone for VerifiedReadWork
impl Clone for VerifiedReadWork
Source§fn clone(&self) -> VerifiedReadWork
fn clone(&self) -> VerifiedReadWork
Returns a duplicate of the value. Read more
1.0.0 · 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 VerifiedReadWork
impl Debug for VerifiedReadWork
Source§impl Default for VerifiedReadWork
impl Default for VerifiedReadWork
Source§fn default() -> VerifiedReadWork
fn default() -> VerifiedReadWork
Returns the “default value” for a type. Read more
Source§impl PartialEq for VerifiedReadWork
impl PartialEq for VerifiedReadWork
impl Copy for VerifiedReadWork
impl Eq for VerifiedReadWork
impl StructuralPartialEq for VerifiedReadWork
Auto Trait Implementations§
impl Freeze for VerifiedReadWork
impl RefUnwindSafe for VerifiedReadWork
impl Send for VerifiedReadWork
impl Sync for VerifiedReadWork
impl Unpin for VerifiedReadWork
impl UnwindSafe for VerifiedReadWork
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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