Enum huelib::resource::config::BackupStatus [−][src]
pub enum BackupStatus {
Idle,
StartMigration,
FilereadyDisabled,
PrepareRestore,
Restoring,
}
Expand description
Status of backup/restore.
Variants
No backup or restore ongoing.
Indicates that a file for migration is being created.
It can only be written if status is Idle
and puts the bridge in FilereadyDisable
status. CLIP is not available for some time after this command.
Indicates that a backup file is available and that this bridge has been disabled due to a migration procedure.
The bridge can be activated again by a factory reset or power cycle.
Indicates that the a backup file has been sent to the bridge and the bridge is in the process of preparing it for restoring.
Indicates that the bridge is in the process of restoring the backup file.
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 BackupStatus
impl Send for BackupStatus
impl Sync for BackupStatus
impl Unpin for BackupStatus
impl UnwindSafe for BackupStatus
Blanket Implementations
Mutably borrows from an owned value. Read more