pub struct CorruptionError(/* private fields */);
Expand description
An error return if some content in the database is corrupted.
Trait Implementations§
Source§impl Debug for CorruptionError
impl Debug for CorruptionError
Source§impl Display for CorruptionError
impl Display for CorruptionError
Source§impl Error for CorruptionError
impl Error for CorruptionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CorruptionError> for Error
impl From<CorruptionError> for Error
Source§fn from(error: CorruptionError) -> Self
fn from(error: CorruptionError) -> Self
Converts to this type from the input type.
Source§impl From<CorruptionError> for StorageError
impl From<CorruptionError> for StorageError
Source§fn from(source: CorruptionError) -> Self
fn from(source: CorruptionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CorruptionError
impl !RefUnwindSafe for CorruptionError
impl Send for CorruptionError
impl Sync for CorruptionError
impl Unpin for CorruptionError
impl !UnwindSafe for CorruptionError
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