Enum huelib::resource::light::SoftwareUpdateState [−][src]
#[non_exhaustive]
pub enum SoftwareUpdateState {
NoUpdates,
NotUpdatable,
Transferring,
ReadyToInstall,
}
Expand description
State of a software update.
See this issue for the reason why this enum is marked as non_exhaustive
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
No updates are available.
Device cannot be updated.
Device is downloading new updates.
Device is ready to install new updates.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for SoftwareUpdateState
impl Send for SoftwareUpdateState
impl Sync for SoftwareUpdateState
impl Unpin for SoftwareUpdateState
impl UnwindSafe for SoftwareUpdateState
Blanket Implementations
Mutably borrows from an owned value. Read more