pub enum NvramStorageError {
Deserialize,
Load(Box<dyn Error + Send + Sync>),
Commit(Box<dyn Error + Send + Sync>),
OutOfSpace,
VariableNameTooLong,
VariableDataTooLong,
}
Variants§
Deserialize
Load(Box<dyn Error + Send + Sync>)
Commit(Box<dyn Error + Send + Sync>)
OutOfSpace
VariableNameTooLong
VariableDataTooLong
Trait Implementations§
source§impl Debug for NvramStorageError
impl Debug for NvramStorageError
source§impl Display for NvramStorageError
impl Display for NvramStorageError
source§impl Error for NvramStorageError
impl Error for NvramStorageError
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 Freeze for NvramStorageError
impl !RefUnwindSafe for NvramStorageError
impl Send for NvramStorageError
impl Sync for NvramStorageError
impl Unpin for NvramStorageError
impl !UnwindSafe for NvramStorageError
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