pub enum FlashError {
Busy,
Illegal,
EccError,
PageOutOfRange,
Failure,
}
Expand description
Possible error states for flash operations.
Variants§
Busy
Flash controller is not done yet
Illegal
Error detected (by command execution, or because no command could be executed)
EccError
Set during read if ECC decoding logic detects correctable or uncorrectable error
PageOutOfRange
Page number is out of range
Failure
(Legal) command failed
Trait Implementations§
Source§impl Clone for FlashError
impl Clone for FlashError
Source§fn clone(&self) -> FlashError
fn clone(&self) -> FlashError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FlashError
impl Debug for FlashError
Source§impl Format for FlashError
impl Format for FlashError
Source§impl From<FlashError> for Error
impl From<FlashError> for Error
Source§fn from(error: FlashError) -> Self
fn from(error: FlashError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FlashError
impl PartialEq for FlashError
impl Copy for FlashError
impl Eq for FlashError
impl StructuralPartialEq for FlashError
Auto Trait Implementations§
impl Freeze for FlashError
impl RefUnwindSafe for FlashError
impl Send for FlashError
impl Sync for FlashError
impl Unpin 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