pub enum Error<T> {
OutOfBounds,
Flash(T),
}
Expand description
Partition error
Variants§
Trait Implementations§
Source§impl<T: NorFlashError> NorFlashError for Error<T>
impl<T: NorFlashError> NorFlashError for Error<T>
Source§fn kind(&self) -> NorFlashErrorKind
fn kind(&self) -> NorFlashErrorKind
Convert a specific NOR flash error into a generic error kind.
impl<T: Eq> Eq for Error<T>
impl<T> StructuralPartialEq for Error<T>
Auto Trait Implementations§
impl<T> Freeze for Error<T>where
T: Freeze,
impl<T> RefUnwindSafe for Error<T>where
T: RefUnwindSafe,
impl<T> Send for Error<T>where
T: Send,
impl<T> Sync for Error<T>where
T: Sync,
impl<T> Unpin for Error<T>where
T: Unpin,
impl<T> UnwindSafe for Error<T>where
T: UnwindSafe,
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