Enum homie_controller::State [−][src]
pub enum State {
Unknown,
Init,
Ready,
Disconnected,
Sleeping,
Lost,
Alert,
}
Expand description
The state of a Homie device according to the Homie device lifecycle.
Variants
The state of the device is not yet known to the controller because device discovery is still underway.
The device is connected to the MQTT broker but is not yet ready to operate.
The device is connected and operational.
The device has cleanly disconnected from the MQTT broker.
The device is currently sleeping.
The device was uncleanly disconnected from the MQTT broker. This could happen due to a network issue, power failure or some other unexpected failure.
The device is connected to the MQTT broker but something is wrong and it may require human intervention.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for State
impl UnwindSafe for State
Blanket Implementations
Mutably borrows from an owned value. Read more