Enum tokio_zookeeper::WatchedEventType[][src]

#[repr(i32)]
pub enum WatchedEventType { None, NodeCreated, NodeDeleted, NodeDataChanged, NodeChildrenChanged, DataWatchRemoved, ChildWatchRemoved, }

Enumeration of types of events that may occur on the znode.

Variants

Nothing known has occurred on the znode. This value is issued as part of a WatchedEvent when the KeeperState changes.

Issued when a znode at a given path is created.

Issued when a znode at a given path is deleted.

Issued when the data of a watched znode are altered. This event value is issued whenever a set operation occurs without an actual contents check, so there is no guarantee the data actually changed.

Issued when the children of a watched znode are created or deleted. This event is not issued when the data within children is altered.

Issued when the client removes a data watcher.

Issued when the client removes a child watcher.

Trait Implementations

impl Clone for WatchedEventType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for WatchedEventType
[src]

impl Debug for WatchedEventType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for WatchedEventType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for WatchedEventType
[src]

impl From<i32> for WatchedEventType
[src]

Performs the conversion.

Auto Trait Implementations