pub struct DefaultStorageConfig {
pub flash_page_range: Range<usize>,
}Expand description
Configuration for DefaultStorage.
Fields§
§flash_page_range: Range<usize>The flash pages reserved for the storage database, as a half-open page index range.
The range is expressed in pages, and must not overlap pages used by other data such as the bootloader or application code. All pages in this range are owned by the database.
Auto Trait Implementations§
impl Forget for DefaultStorageConfig
impl Freeze for DefaultStorageConfig
impl Move for DefaultStorageConfig
impl RefUnwindSafe for DefaultStorageConfig
impl Send for DefaultStorageConfig
impl Sync for DefaultStorageConfig
impl Unpin for DefaultStorageConfig
impl UnsafeUnpin for DefaultStorageConfig
impl UnwindSafe for DefaultStorageConfig
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
Source§impl<T> TryFromMessage<T> for T
impl<T> TryFromMessage<T> for T
Source§fn try_from_message(value: T) -> Result<T, MismatchedMessageType>
fn try_from_message(value: T) -> Result<T, MismatchedMessageType>
Identity conversion for equal source and target message types.