pub enum VerificationMode {
FrameCrc,
BatchDigests,
}Expand description
How much re-verification the reader performs beyond per-frame CRCs.
Variants§
FrameCrc
Every traversed frame’s CRC is checked (always on). Batch framing is tracked for position continuity only.
BatchDigests
Additionally re-verify batch begin/commit control digests over the
raw event-frame bytes, streaming (no batch buffering). A mismatch
fails the read with Corrupt at the commit frame.
Trait Implementations§
Source§impl Clone for VerificationMode
impl Clone for VerificationMode
Source§fn clone(&self) -> VerificationMode
fn clone(&self) -> VerificationMode
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 moreimpl Copy for VerificationMode
Source§impl Debug for VerificationMode
impl Debug for VerificationMode
Source§impl Default for VerificationMode
impl Default for VerificationMode
Source§fn default() -> VerificationMode
fn default() -> VerificationMode
Returns the “default value” for a type. Read more
impl Eq for VerificationMode
Source§impl PartialEq for VerificationMode
impl PartialEq for VerificationMode
impl StructuralPartialEq for VerificationMode
Auto Trait Implementations§
impl Freeze for VerificationMode
impl RefUnwindSafe for VerificationMode
impl Send for VerificationMode
impl Sync for VerificationMode
impl Unpin for VerificationMode
impl UnsafeUnpin for VerificationMode
impl UnwindSafe for VerificationMode
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