pub struct FlashRegion<'a, F> { /* private fields */ }Expand description
A flash region is a “view” into the partition.
It allows to read and write to the partition without the need to account for the partition offset.
Trait Implementations§
Source§impl<'a, F: Debug> Debug for FlashRegion<'a, F>
impl<'a, F: Debug> Debug for FlashRegion<'a, F>
Source§impl<F> ErrorType for FlashRegion<'_, F>
impl<F> ErrorType for FlashRegion<'_, F>
Source§impl<F> NorFlash for FlashRegion<'_, F>where
F: NorFlash,
impl<F> NorFlash for FlashRegion<'_, F>where
F: NorFlash,
Source§const WRITE_SIZE: usize = F::WRITE_SIZE
const WRITE_SIZE: usize = F::WRITE_SIZE
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = F::ERASE_SIZE
const ERASE_SIZE: usize = F::ERASE_SIZE
The minumum number of bytes the storage peripheral can erase
Source§impl<F> ReadNorFlash for FlashRegion<'_, F>where
F: ReadNorFlash,
impl<F> ReadNorFlash for FlashRegion<'_, F>where
F: ReadNorFlash,
Source§const READ_SIZE: usize = F::READ_SIZE
const READ_SIZE: usize = F::READ_SIZE
The minumum number of bytes the storage peripheral can read
Source§impl<F> ReadStorage for FlashRegion<'_, F>where
F: ReadStorage,
impl<F> ReadStorage for FlashRegion<'_, F>where
F: ReadStorage,
Source§impl<F> Region for FlashRegion<'_, F>
impl<F> Region for FlashRegion<'_, F>
Source§impl<F> Storage for FlashRegion<'_, F>where
F: Storage,
impl<F> Storage for FlashRegion<'_, F>where
F: Storage,
impl<F> MultiwriteNorFlash for FlashRegion<'_, F>where
F: MultiwriteNorFlash,
Auto Trait Implementations§
impl<'a, F> Freeze for FlashRegion<'a, F>
impl<'a, F> RefUnwindSafe for FlashRegion<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for FlashRegion<'a, F>where
F: Send,
impl<'a, F> Sync for FlashRegion<'a, F>where
F: Sync,
impl<'a, F> Unpin for FlashRegion<'a, F>
impl<'a, F> !UnwindSafe for FlashRegion<'a, F>
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