Enum embedded_svc::storage::StorageError
source · pub enum StorageError<R, S> {
RawStorageError(R),
SerdeError(S),
}
Variants§
Trait Implementations§
source§impl<R: Debug, S: Debug> Debug for StorageError<R, S>
impl<R: Debug, S: Debug> Debug for StorageError<R, S>
source§impl<R, S> Display for StorageError<R, S>where
R: Display,
S: Display,
impl<R, S> Display for StorageError<R, S>where
R: Display,
S: Display,
source§impl<R, S> Error for StorageError<R, S>where
R: Error,
S: Error,
impl<R, S> Error for StorageError<R, S>where
R: Error,
S: Error,
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0§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>where
R: Freeze,
S: Freeze,
impl<R, S> RefUnwindSafe for StorageError<R, S>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, S> Send for StorageError<R, S>where
R: Send,
S: Send,
impl<R, S> Sync for StorageError<R, S>where
R: Sync,
S: Sync,
impl<R, S> Unpin for StorageError<R, S>where
R: Unpin,
S: Unpin,
impl<R, S> UnwindSafe for StorageError<R, S>where
R: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more