Skip to main content

NorFlashError

Trait NorFlashError 

Source
pub trait NorFlashError: Debug {
    // Required method
    fn kind(&self) -> NorFlashErrorKind;
}
Expand description

NOR flash errors.

NOR flash implementations must use an error type implementing this trait. This permits generic code to extract a generic error kind.

Required Methods§

Source

fn kind(&self) -> NorFlashErrorKind

Convert a specific NOR flash error into a generic error kind.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl NorFlashError for Infallible

Implementors§