pub enum StorageError<R, S> {
RawStorageError(R),
SerdeError(S),
}Variants§
Trait Implementations§
Source§impl<R, S> Display for StorageError<R, S>
impl<R, S> Display for StorageError<R, S>
Source§impl<R, S> Error for StorageError<R, S>
impl<R, S> Error for StorageError<R, S>
1.30.0 · 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()
Auto Trait Implementations§
impl<R, S> Freeze for StorageError<R, S>
impl<R, S> RefUnwindSafe for StorageError<R, S>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, S> Send for StorageError<R, S>
impl<R, S> Sync for StorageError<R, S>
impl<R, S> Unpin for StorageError<R, S>
impl<R, S> UnsafeUnpin for StorageError<R, S>where
R: UnsafeUnpin,
S: UnsafeUnpin,
impl<R, S> UnwindSafe for StorageError<R, S>where
R: UnwindSafe,
S: 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