pub enum CorruptionKind {
WalReplayFailure,
HeaderMalformed,
SchemaInconsistent,
EmbedderIdentityDrift,
}Expand description
Open-path corruption category.
0.6.0 emits exactly the four members below; per
dev/design/errors.md § Engine.open corruption table, doctor-only
finding codes are not represented here.
Variants§
Trait Implementations§
Source§impl Clone for CorruptionKind
impl Clone for CorruptionKind
Source§fn clone(&self) -> CorruptionKind
fn clone(&self) -> CorruptionKind
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 CorruptionKind
Source§impl Debug for CorruptionKind
impl Debug for CorruptionKind
impl Eq for CorruptionKind
Source§impl PartialEq for CorruptionKind
impl PartialEq for CorruptionKind
Source§fn eq(&self, other: &CorruptionKind) -> bool
fn eq(&self, other: &CorruptionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CorruptionKind
Auto Trait Implementations§
impl Freeze for CorruptionKind
impl RefUnwindSafe for CorruptionKind
impl Send for CorruptionKind
impl Sync for CorruptionKind
impl Unpin for CorruptionKind
impl UnsafeUnpin 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