pub enum Error<E> {
Corrupted,
Flash(E),
}
Expand description
Error returned by ReadTransaction::read_all
, ReadTransaction::read_range
.
Variants§
Corrupted
Database is corrupted, or not formatted yet.
Flash(E)
Some operation on the underlying Flash
failed.
Trait Implementations§
Source§impl<E> From<Error<E>> for CommitError<E>
impl<E> From<Error<E>> for CommitError<E>
Source§impl<E> From<Error<E>> for CursorError<E>
impl<E> From<Error<E>> for CursorError<E>
Source§impl<E> From<Error<E>> for MountError<E>
impl<E> From<Error<E>> for MountError<E>
Source§impl<E> From<Error<E>> for WriteError<E>
impl<E> From<Error<E>> for WriteError<E>
Source§impl<E> From<FormatError<E>> for Error<E>
impl<E> From<FormatError<E>> for Error<E>
Source§fn from(value: FormatError<E>) -> Self
fn from(value: FormatError<E>) -> Self
Converts to this type from the input type.
impl<E: Copy> Copy for Error<E>
impl<E: Eq> Eq for Error<E>
impl<E> StructuralPartialEq for Error<E>
Auto Trait Implementations§
impl<E> Freeze for Error<E>where
E: Freeze,
impl<E> RefUnwindSafe for Error<E>where
E: RefUnwindSafe,
impl<E> Send for Error<E>where
E: Send,
impl<E> Sync for Error<E>where
E: Sync,
impl<E> Unpin for Error<E>where
E: Unpin,
impl<E> UnwindSafe for Error<E>where
E: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)