pub enum FlashError {
InvalidAddress,
AccessViolation,
NeedsErase,
}Expand description
Flash controller errors.
Variants§
InvalidAddress
The target address or page to write or erase is invalid.
AccessViolation
The flash controller was busy or locked when attempting to write or erase.
NeedsErase
Writing over the old data with new data would cause 0 -> 1 bit transitions. The target address must be erased before writing new data.
Trait Implementations§
Source§impl Debug for FlashError
impl Debug for FlashError
Source§impl PartialEq for FlashError
impl PartialEq 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