#[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.