#[repr(u8)]pub enum UpdateState {
Unknown = 0,
Pending = 1,
Success = 2,
Failed = 3,
NeedsReboot = 4,
FailedTransient = 5,
}
Expand description
Describes the state of the last update on a device.
Variants§
Trait Implementations§
Source§impl Clone for UpdateState
impl Clone for UpdateState
Source§fn clone(&self) -> UpdateState
fn clone(&self) -> UpdateState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateState
impl Debug for UpdateState
Source§impl From<u8> for UpdateState
impl From<u8> for UpdateState
Source§impl PartialEq for UpdateState
impl PartialEq for UpdateState
impl Copy for UpdateState
impl StructuralPartialEq for UpdateState
Auto Trait Implementations§
impl Freeze for UpdateState
impl RefUnwindSafe for UpdateState
impl Send for UpdateState
impl Sync for UpdateState
impl Unpin for UpdateState
impl UnwindSafe for UpdateState
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