pub struct ChainVerifyReport {
pub total: u64,
pub ok: bool,
pub broken_at: Option<i64>,
pub detail: Option<String>,
}Expand description
Outcome of a full hash-chain verification pass (NIAP CA PP FAU_STG.1).
ok == true means every row’s record_hash recomputed correctly and every
prev_hash linked to its predecessor. On failure, broken_at carries the
id of the first offending row and detail explains which invariant broke.
Fields§
§total: u64Number of rows examined.
ok: booltrue when the entire chain verified.
broken_at: Option<i64>id of the first row that failed verification, if any.
detail: Option<String>Human-readable description of the first failure, if any.
Trait Implementations§
Source§impl Clone for ChainVerifyReport
impl Clone for ChainVerifyReport
Source§fn clone(&self) -> ChainVerifyReport
fn clone(&self) -> ChainVerifyReport
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 moreAuto Trait Implementations§
impl Freeze for ChainVerifyReport
impl RefUnwindSafe for ChainVerifyReport
impl Send for ChainVerifyReport
impl Sync for ChainVerifyReport
impl Unpin for ChainVerifyReport
impl UnsafeUnpin for ChainVerifyReport
impl UnwindSafe for ChainVerifyReport
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<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