#[repr(u8)]pub enum UpImageStatus {
None = 0,
Corrupt = 1,
WrongHardware = 2,
Valid = 3,
}Expand description
What a device says about the firmware upgrade image it is holding, table 10.
Variants§
None = 0
It is holding none.
Corrupt = 1
One is there, but it is corrupt or its signature does not verify.
WrongHardware = 2
One is there and authentic, but it is not for this hardware.
Valid = 3
One is there, and it can be installed.
Implementations§
Source§impl UpImageStatus
impl UpImageStatus
Trait Implementations§
Source§impl Clone for UpImageStatus
impl Clone for UpImageStatus
Source§fn clone(&self) -> UpImageStatus
fn clone(&self) -> UpImageStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpImageStatus
Source§impl Debug for UpImageStatus
impl Debug for UpImageStatus
impl Eq for UpImageStatus
Source§impl Hash for UpImageStatus
impl Hash for UpImageStatus
Source§impl PartialEq for UpImageStatus
impl PartialEq for UpImageStatus
impl StructuralPartialEq for UpImageStatus
Auto Trait Implementations§
impl Freeze for UpImageStatus
impl RefUnwindSafe for UpImageStatus
impl Send for UpImageStatus
impl Sync for UpImageStatus
impl Unpin for UpImageStatus
impl UnsafeUnpin for UpImageStatus
impl UnwindSafe for UpImageStatus
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