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

The path to the znode this is watching.

The type of changes this watch is looking for.

The handler for this watch, to call when it is triggered.

Trait Implementations

Auto Trait Implementations

impl Send for Watch

impl !Sync for Watch