pub struct AsyncFlash<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: ReadNorFlash> ErrorType for AsyncFlash<T>
impl<T: ReadNorFlash> ErrorType for AsyncFlash<T>
Source§impl<T: UnlockFlash> NorFlash for AsyncFlash<T>
impl<T: UnlockFlash> NorFlash for AsyncFlash<T>
Source§const WRITE_SIZE: usize = <T::Unlocked>::WRITE_SIZE
const WRITE_SIZE: usize = <T::Unlocked>::WRITE_SIZE
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = <T::Unlocked>::ERASE_SIZE
const ERASE_SIZE: usize = <T::Unlocked>::ERASE_SIZE
The minumum number of bytes the storage peripheral can erase
Source§impl<T: ReadNorFlash> ReadNorFlash for AsyncFlash<T>
impl<T: ReadNorFlash> ReadNorFlash for AsyncFlash<T>
Source§const READ_SIZE: usize = T::READ_SIZE
const READ_SIZE: usize = T::READ_SIZE
The minumum number of bytes the storage peripheral can read
Auto Trait Implementations§
impl<T> Freeze for AsyncFlash<T>where
T: Freeze,
impl<T> RefUnwindSafe for AsyncFlash<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncFlash<T>where
T: Send,
impl<T> Sync for AsyncFlash<T>where
T: Sync,
impl<T> Unpin for AsyncFlash<T>where
T: Unpin,
impl<T> UnwindSafe for AsyncFlash<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