Struct zookeeper::Watch
[−]
[src]
pub struct Watch { pub path: String, pub watch_type: WatchType, pub watcher: Box<Watcher>, }
An object watching a path for certain changes.
Fields
path: String
The path to the znode this is watching.
watch_type: WatchType
The type of changes this watch is looking for.
watcher: Box<Watcher>
The handler for this watch, to call when it is triggered.