pub enum CorruptionKind {
HashMismatch {
expected: EventId,
computed: EventId,
},
MissingParent {
parent_id: EventId,
},
}Expand description
Types of event corruption
Variants§
HashMismatch
Event ID doesn’t match computed hash
MissingParent
Event references a parent that doesn’t exist
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CorruptionKind
impl RefUnwindSafe for CorruptionKind
impl Send for CorruptionKind
impl Sync for CorruptionKind
impl Unpin for CorruptionKind
impl UnwindSafe for CorruptionKind
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