#[non_exhaustive]pub enum VerifyIssueKind {
ParseError,
PrevHashMismatch,
ThisHashMismatch,
SequenceJump,
}Expand description
Classification of a VerifyIssue. non_exhaustive for forward
compatibility — future kinds may include SessionIdChange, etc.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ParseError
Row failed to parse as LogRow (corrupted JSON or unknown field).
PrevHashMismatch
prev_hash did not match the previous row’s this_hash (or the
genesis sentinel on row 1).
ThisHashMismatch
Row’s stored this_hash did not match the recomputed canonical-JSON
SHA-256.
SequenceJump
ts_seq did not increase strictly monotonically (within a session;
see PROVENANCE_LOG.md §3 + §6 — chain restarts after rotation are
permitted to reset ts_seq and are detected via the genesis sentinel).
Trait Implementations§
Source§impl Clone for VerifyIssueKind
impl Clone for VerifyIssueKind
Source§fn clone(&self) -> VerifyIssueKind
fn clone(&self) -> VerifyIssueKind
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 VerifyIssueKind
impl Debug for VerifyIssueKind
Source§impl PartialEq for VerifyIssueKind
impl PartialEq for VerifyIssueKind
impl Copy for VerifyIssueKind
impl Eq for VerifyIssueKind
impl StructuralPartialEq for VerifyIssueKind
Auto Trait Implementations§
impl Freeze for VerifyIssueKind
impl RefUnwindSafe for VerifyIssueKind
impl Send for VerifyIssueKind
impl Sync for VerifyIssueKind
impl Unpin for VerifyIssueKind
impl UnsafeUnpin for VerifyIssueKind
impl UnwindSafe for VerifyIssueKind
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