pub enum StorageOpError<S: ReadStorage> {
PartitionError(PartitionError),
StorageError(S::Error),
}
Expand description
Error type for embedded storage operations
Variants§
PartitionError(PartitionError)
Partition specific error
StorageError(S::Error)
Storage specific error
Trait Implementations§
Source§impl<S: Clone + ReadStorage> Clone for StorageOpError<S>
impl<S: Clone + ReadStorage> Clone for StorageOpError<S>
Source§fn clone(&self) -> StorageOpError<S>
fn clone(&self) -> StorageOpError<S>
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<S: Debug + ReadStorage> Debug for StorageOpError<S>
impl<S: Debug + ReadStorage> Debug for StorageOpError<S>
Source§impl<S: ReadStorage> From<PartitionError> for StorageOpError<S>
impl<S: ReadStorage> From<PartitionError> for StorageOpError<S>
Source§fn from(error: PartitionError) -> Self
fn from(error: PartitionError) -> Self
Converts to this type from the input type.
Source§impl<S: PartialEq + ReadStorage> PartialEq for StorageOpError<S>
impl<S: PartialEq + ReadStorage> PartialEq for StorageOpError<S>
impl<S: Copy + ReadStorage> Copy for StorageOpError<S>
impl<S: Eq + ReadStorage> Eq for StorageOpError<S>
impl<S: ReadStorage> StructuralPartialEq for StorageOpError<S>
Auto Trait Implementations§
impl<S> Freeze for StorageOpError<S>
impl<S> RefUnwindSafe for StorageOpError<S>
impl<S> Send for StorageOpError<S>
impl<S> Sync for StorageOpError<S>
impl<S> Unpin for StorageOpError<S>
impl<S> UnwindSafe for StorageOpError<S>
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