[][src]Enum huelib::config::BackupStatus

pub enum BackupStatus {
    Idle,
    StartMigration,
    FilereadyDisabled,
    PrepareRestore,
    Restoring,
}

Status of backup/restore.

Variants

Idle

No backup/restore ongoing.

StartMigration

Can be written if status is Idle. Creates a backup file which can be retrieved via the backup interface and puts the bridge in FilereadyDisabled status. ndicates that a backup file for migration is being created. CLIP is not available for some time after this command.

FilereadyDisabled

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.

PrepareRestore

Indicates that the a backup file has been sent to the bridge and the bridge is in the process of preparing it for restoring.

Restoring

Indicates that the bridge is in the process of restoring the backup file.

Trait Implementations

impl Clone for BackupStatus[src]

impl Debug for BackupStatus[src]

impl<'de> Deserialize<'de> for BackupStatus[src]

impl Eq for BackupStatus[src]

impl PartialEq<BackupStatus> for BackupStatus[src]

impl StructuralEq for BackupStatus[src]

impl StructuralPartialEq for BackupStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.