pub struct ChainVerifyResult {
pub total_entries: usize,
pub valid: bool,
pub first_invalid_at: Option<usize>,
pub source_present: bool,
pub unknown_event_types: usize,
}Fields§
§total_entries: usize§valid: bool§first_invalid_at: Option<usize>§source_present: boolWhether the audit trail file existed and was readable. A missing trail
is a valid empty history for a fresh install, but callers that already
hold audited state must treat false as evidence loss.
unknown_event_types: usizeEntries whose event_type this build does not know, but whose hash
links verify. Forward compatibility, NOT corruption: a reader older
than the writer must report those separately instead of raising a
false tamper alarm (OCP Part 4 additive-event rule). Actual hash or
structure damage still sets valid = false.
Auto Trait Implementations§
impl Freeze for ChainVerifyResult
impl RefUnwindSafe for ChainVerifyResult
impl Send for ChainVerifyResult
impl Sync for ChainVerifyResult
impl Unpin for ChainVerifyResult
impl UnsafeUnpin for ChainVerifyResult
impl UnwindSafe for ChainVerifyResult
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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