#[repr(u8)]pub enum UpdateState {
Unknown = 0,
Idle = 1,
Querying = 2,
Delayedonquery = 3,
Downloading = 4,
Applying = 5,
Delayedonapply = 6,
Rollingback = 7,
Delayedonuserconsent = 8,
}Variants§
Unknown = 0
Current state is not yet determined.
Idle = 1
Indicate a Node not yet in the process of software update.
Querying = 2
Indicate a Node in the process of querying an OTA Provider.
Delayedonquery = 3
Indicate a Node waiting after a Busy response.
Downloading = 4
Indicate a Node currently in the process of downloading a software update.
Applying = 5
Indicate a Node currently in the process of verifying and applying a software update.
Delayedonapply = 6
Indicate a Node waiting caused by AwaitNextAction response.
Rollingback = 7
Indicate a Node in the process of recovering to a previous version.
Delayedonuserconsent = 8
Indicate a Node is capable of user consent.
Implementations§
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateState
impl Debug for UpdateState
Source§impl<'de> Deserialize<'de> for UpdateState
impl<'de> Deserialize<'de> for UpdateState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<UpdateState> for u8
impl From<UpdateState> for u8
Source§fn from(val: UpdateState) -> Self
fn from(val: UpdateState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UpdateState
impl PartialEq for UpdateState
Source§impl Serialize for UpdateState
impl Serialize for UpdateState
impl Copy for UpdateState
impl Eq 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