pub struct FlashStorage<'d> { /* private fields */ }Expand description
Flash storage abstraction.
Implementations§
Trait Implementations§
Source§impl<'d> Debug for FlashStorage<'d>
impl<'d> Debug for FlashStorage<'d>
Source§impl ErrorType for FlashStorage<'_>
impl ErrorType for FlashStorage<'_>
Source§type Error = FlashStorageError
type Error = FlashStorageError
Errors returned by this NOR flash.
Source§impl NorFlash for FlashStorage<'_>
impl NorFlash for FlashStorage<'_>
Source§const WRITE_SIZE: usize = 4usize
const WRITE_SIZE: usize = 4usize
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = 4_096usize
const ERASE_SIZE: usize = 4_096usize
The minumum number of bytes the storage peripheral can erase
Source§impl ReadNorFlash for FlashStorage<'_>
impl ReadNorFlash for FlashStorage<'_>
Source§impl ReadStorage for FlashStorage<'_>
impl ReadStorage for FlashStorage<'_>
Source§impl Storage for FlashStorage<'_>
impl Storage for FlashStorage<'_>
impl MultiwriteNorFlash for FlashStorage<'_>
Auto Trait Implementations§
impl<'d> Freeze for FlashStorage<'d>
impl<'d> RefUnwindSafe for FlashStorage<'d>
impl<'d> Send for FlashStorage<'d>
impl<'d> Sync for FlashStorage<'d>
impl<'d> Unpin for FlashStorage<'d>
impl<'d> !UnwindSafe for FlashStorage<'d>
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