pub struct VerifyReport {
pub total_lines: u64,
pub ok_lines: u64,
pub first_break: Option<VerifyBreak>,
pub unsigned_eof: bool,
pub unsigned_prev_tail: bool,
}Expand description
Result of verify_audit_log. first_break is None when the
chain is intact end-to-end.
Fields§
§total_lines: u64§ok_lines: u64§first_break: Option<VerifyBreak>§unsigned_eof: boolv0.8.2 #63: true when the file does NOT end with a recognized
# eof_hmac=<hex> marker. With require_eof_hmac = false this
is informational (operator should treat as suspicious for any
post-v0.8.2 producer); with require_eof_hmac = true the
verifier additionally returns VerifyError::EofHmacMissing.
unsigned_prev_tail: boolv0.8.2 #63: true when the chain seed for this file came from
an in-file # prev_file_tail=<hex> comment that is not itself
authenticated (H-3 baseline). Cleared when the operator supplied
VerifyOptions::expected_prev_tail (then the chain seed is
trusted-by-construction).
Trait Implementations§
Source§impl Clone for VerifyReport
impl Clone for VerifyReport
Source§fn clone(&self) -> VerifyReport
fn clone(&self) -> VerifyReport
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 VerifyReport
impl Debug for VerifyReport
Source§impl PartialEq for VerifyReport
impl PartialEq for VerifyReport
Source§fn eq(&self, other: &VerifyReport) -> bool
fn eq(&self, other: &VerifyReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VerifyReport
impl StructuralPartialEq for VerifyReport
Auto Trait Implementations§
impl Freeze for VerifyReport
impl RefUnwindSafe for VerifyReport
impl Send for VerifyReport
impl Sync for VerifyReport
impl Unpin for VerifyReport
impl UnsafeUnpin for VerifyReport
impl UnwindSafe for VerifyReport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.