Trait UnlockFlash

Source
pub trait UnlockFlash: ReadNorFlash {
    type Unlocked<'a>: NorFlash<Error = Self::Error>
       where Self: 'a;

    // Required method
    fn unlock(&mut self) -> Self::Unlocked<'_>;
}

Required Associated Types§

Source

type Unlocked<'a>: NorFlash<Error = Self::Error> where Self: 'a

Required Methods§

Source

fn unlock(&mut self) -> Self::Unlocked<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§