pub enum FlashError {
Read,
Write,
Erase,
PartitionNotFound,
ValidationFailed,
ConfigLoad,
ConfigSave,
InternalError,
}Expand description
Flash storage errors.
Variants§
Read
Read operation failed.
Write
Write operation failed.
Erase
Erase operation failed.
PartitionNotFound
Requested partition not found.
ValidationFailed
OTA partition validation failed.
ConfigLoad
Failed to load configuration from flash.
ConfigSave
Failed to save configuration to flash.
InternalError
Internal flash controller error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlashError
impl RefUnwindSafe for FlashError
impl Send for FlashError
impl Sync for FlashError
impl Unpin for FlashError
impl UnsafeUnpin for FlashError
impl UnwindSafe for FlashError
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