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: VERSION
Current firmware version
next_offset: u32
Offset written of next firmware
next_version: Option<VERSION>
Next version being written
Trait Implementations
sourceimpl<VERSION> Clone for FirmwareStatus<VERSION> where
VERSION: FirmwareVersion + Clone,
impl<VERSION> Clone for FirmwareStatus<VERSION> where
VERSION: FirmwareVersion + Clone,
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