Enum stm32_hal2::flash::Error
source · [−]pub enum Error {
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
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more