#[non_exhaustive]pub enum FlashStorageError {
IoError,
IoTimeout,
CantUnlock,
NotAligned,
OutOfBounds,
Other(i32),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Debug for FlashStorageError
impl Debug for FlashStorageError
Source§impl NorFlashError for FlashStorageError
impl NorFlashError for FlashStorageError
Source§fn kind(&self) -> NorFlashErrorKind
fn kind(&self) -> NorFlashErrorKind
Convert a specific NOR flash error into a generic error kind.
Auto Trait Implementations§
impl Freeze for FlashStorageError
impl RefUnwindSafe for FlashStorageError
impl Send for FlashStorageError
impl Sync for FlashStorageError
impl Unpin for FlashStorageError
impl UnwindSafe for FlashStorageError
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