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>
impl<S: Clone + ReadNorFlash> Clone for NorFlashOpError<S>
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>
impl<S: Debug + ReadNorFlash> Debug for NorFlashOpError<S>
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 for NorFlashOpError<S>
impl<S: PartialEq + ReadNorFlash> PartialEq for NorFlashOpError<S>
impl<S: Copy + ReadNorFlash> Copy for NorFlashOpError<S>
impl<S: Eq + ReadNorFlash> Eq for NorFlashOpError<S>
impl<S: ReadNorFlash> StructuralPartialEq for NorFlashOpError<S>
Auto Trait Implementations§
impl<S> Freeze for NorFlashOpError<S>
impl<S> RefUnwindSafe for NorFlashOpError<S>
impl<S> Send for NorFlashOpError<S>
impl<S> Sync for NorFlashOpError<S>
impl<S> Unpin for NorFlashOpError<S>
impl<S> UnwindSafe for NorFlashOpError<S>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)