#[repr(u8)]pub enum ModeUpdate {
None = 0,
Ready = 1,
Update = 2,
Complete = 3,
Failed = 4,
NotAvailable = 5,
RunApplication = 6,
NotRegistered = 7,
EndOfType = 8,
}Variants§
None = 0
Ready = 1
Update = 2
Complete = 3
Failed = 4
NotAvailable = 5
RunApplication = 6
NotRegistered = 7
EndOfType = 8
Implementations§
Source§impl ModeUpdate
impl ModeUpdate
pub fn from_u8(data_u8: u8) -> ModeUpdate
Trait Implementations§
Source§impl Clone for ModeUpdate
impl Clone for ModeUpdate
Source§fn clone(&self) -> ModeUpdate
fn clone(&self) -> ModeUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModeUpdate
impl Debug for ModeUpdate
Source§impl From<ModeUpdate> for u8
impl From<ModeUpdate> for u8
Source§fn from(enum_value: ModeUpdate) -> Self
fn from(enum_value: ModeUpdate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModeUpdate
impl PartialEq for ModeUpdate
Source§impl TryFrom<u8> for ModeUpdate
impl TryFrom<u8> for ModeUpdate
Source§type Error = TryFromPrimitiveError<ModeUpdate>
type Error = TryFromPrimitiveError<ModeUpdate>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ModeUpdate
impl TryFromPrimitive for ModeUpdate
impl Copy for ModeUpdate
impl Eq for ModeUpdate
impl StructuralPartialEq for ModeUpdate
Auto Trait Implementations§
impl Freeze for ModeUpdate
impl RefUnwindSafe for ModeUpdate
impl Send for ModeUpdate
impl Sync for ModeUpdate
impl Unpin for ModeUpdate
impl UnwindSafe for ModeUpdate
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