Struct embedded_update::FirmwareStatus
source · [−]pub struct FirmwareStatus<VERSION> where
VERSION: FirmwareVersion, {
pub current_version: VERSION,
pub next_offset: u32,
pub next_version: Option<VERSION>,
}Expand description
The current status of the firmware on a device
Fields
current_version: VERSIONCurrent firmware version
next_offset: u32Offset written of next firmware
next_version: Option<VERSION>Next version being written
Auto Trait Implementations
impl<VERSION> RefUnwindSafe for FirmwareStatus<VERSION> where
VERSION: RefUnwindSafe,
impl<VERSION> Send for FirmwareStatus<VERSION> where
VERSION: Send,
impl<VERSION> Sync for FirmwareStatus<VERSION> where
VERSION: Sync,
impl<VERSION> Unpin for FirmwareStatus<VERSION> where
VERSION: Unpin,
impl<VERSION> UnwindSafe for FirmwareStatus<VERSION> where
VERSION: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more