pub enum Error<E> {
Corrupted,
Flash(E),
}
Expand description
Error returned by ReadTransaction::read_all
, ReadTransaction::read_range
.
Variants§
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.
source§impl<E: PartialEq> PartialEq for Error<E>
impl<E: PartialEq> PartialEq for Error<E>
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)