Enum foxbox_taxonomy::api::WatchEvent
[−]
[src]
pub enum WatchEvent {
EnterRange {
from: Id<Getter>,
value: Value,
},
ExitRange {
from: Id<Getter>,
value: Value,
},
GetterRemoved(Id<Getter>),
GetterAdded(Id<Getter>),
InitializationError {
channel: Id<Getter>,
error: Error,
},
}An event during watching.
Variants
EnterRange | If a range was specified when we registered for watching, Fields
| |||||
ExitRange | If a range was specified when we registered for watching, Fields
| |||||
GetterRemoved | The set of devices being watched has changed, typically either because a tag was edited or because a device was removed. Payload is the id of the device that was removed. | |||||
GetterAdded | The set of devices being watched has changed, typically either because a tag was edited or because a device was added. Payload is the id of the device that was added. | |||||
InitializationError | One of the channels encountered an error during initialization. This channel will not be watched, but other channels will remain watched. Fields
|