pub struct AppConfig {
pub capacity: u32,
pub erase_size: u16,
pub boot_version: u16,
pub app_version: u16,
}Expand description
App-side configuration.
Fields§
§capacity: u32App region capacity in bytes.
erase_size: u16Erase page size in bytes.
boot_version: u16Boot version (read from flash by the caller).
app_version: u16App version (typically from pkg_version!()).
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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