pub enum NorFlashOpError<S: ReadNorFlash> {
PartitionError(PartitionError),
StorageError(S::Error),
}Expand description
Error type for embedded storage operations
Variants§
PartitionError(PartitionError)
Partition specific error
StorageError(S::Error)
Storage specific error
Trait Implementations§
source§impl<S: Clone + ReadNorFlash> Clone for NorFlashOpError<S>where
S::Error: Clone,
impl<S: Clone + ReadNorFlash> Clone for NorFlashOpError<S>where S::Error: Clone,
source§fn clone(&self) -> NorFlashOpError<S>
fn clone(&self) -> NorFlashOpError<S>
Returns a copy 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<S: Debug + ReadNorFlash> Debug for NorFlashOpError<S>where
S::Error: Debug,
impl<S: Debug + ReadNorFlash> Debug for NorFlashOpError<S>where S::Error: Debug,
source§impl<S: ReadNorFlash> From<PartitionError> for NorFlashOpError<S>
impl<S: ReadNorFlash> From<PartitionError> for NorFlashOpError<S>
source§fn from(error: PartitionError) -> Self
fn from(error: PartitionError) -> Self
Converts to this type from the input type.
source§impl<S: PartialEq + ReadNorFlash> PartialEq<NorFlashOpError<S>> for NorFlashOpError<S>where
S::Error: PartialEq,
impl<S: PartialEq + ReadNorFlash> PartialEq<NorFlashOpError<S>> for NorFlashOpError<S>where S::Error: PartialEq,
source§fn eq(&self, other: &NorFlashOpError<S>) -> bool
fn eq(&self, other: &NorFlashOpError<S>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<S: Copy + ReadNorFlash> Copy for NorFlashOpError<S>where S::Error: Copy,
impl<S: Eq + ReadNorFlash> Eq for NorFlashOpError<S>where S::Error: Eq,
impl<S: ReadNorFlash> StructuralEq for NorFlashOpError<S>
impl<S: ReadNorFlash> StructuralPartialEq for NorFlashOpError<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for NorFlashOpError<S>where <S as ErrorType>::Error: RefUnwindSafe,
impl<S> Send for NorFlashOpError<S>where <S as ErrorType>::Error: Send,
impl<S> Sync for NorFlashOpError<S>where <S as ErrorType>::Error: Sync,
impl<S> Unpin for NorFlashOpError<S>where <S as ErrorType>::Error: Unpin,
impl<S> UnwindSafe for NorFlashOpError<S>where <S as ErrorType>::Error: 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