pub enum RecoveryError {
InsufficientLength,
TooManyItems,
ChecksumMismatch,
}Expand description
Errors that can occur during journal recovery
Variants§
InsufficientLength
Batch had less items than expected, so it’s incomplete
TooManyItems
Too many items in batch
ChecksumMismatch
The checksum value does not match the expected value
Trait Implementations§
Source§impl Clone for RecoveryError
impl Clone for RecoveryError
Source§fn clone(&self) -> RecoveryError
fn clone(&self) -> RecoveryError
Returns a copy 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 RecoveryError
impl Debug for RecoveryError
Source§impl PartialEq for RecoveryError
impl PartialEq for RecoveryError
impl Copy for RecoveryError
impl Eq for RecoveryError
impl StructuralPartialEq for RecoveryError
Auto Trait Implementations§
impl Freeze for RecoveryError
impl RefUnwindSafe for RecoveryError
impl Send for RecoveryError
impl Sync for RecoveryError
impl Unpin for RecoveryError
impl UnwindSafe for RecoveryError
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
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.