Enum embedded_update::DeviceStatus
source · [−]Expand description
The device status as determined after running the updater.
Variants
Synced(Option<u32>)
The device is fully with the update service. The preferred delay before running again may be provided.
Updated
The device firmware have been updated and the application should reset the device to start the next version of the application.
Trait Implementations
sourceimpl Debug for DeviceStatus
impl Debug for DeviceStatus
sourceimpl PartialEq<DeviceStatus> for DeviceStatus
impl PartialEq<DeviceStatus> for DeviceStatus
sourcefn eq(&self, other: &DeviceStatus) -> bool
fn eq(&self, other: &DeviceStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeviceStatus) -> bool
fn ne(&self, other: &DeviceStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeviceStatus
Auto Trait Implementations
impl RefUnwindSafe for DeviceStatus
impl Send for DeviceStatus
impl Sync for DeviceStatus
impl Unpin for DeviceStatus
impl UnwindSafe for DeviceStatus
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