Enum zookeeper::WatchedEventType[][src]

pub enum WatchedEventType {
    None,
    NodeCreated,
    NodeDeleted,
    NodeDataChanged,
    NodeChildrenChanged,
    DataWatchRemoved,
    ChildWatchRemoved,
}

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

Variants

None

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

NodeCreated

Issued when a znode at a given path is created.

NodeDeleted

Issued when a znode at a given path is deleted.

NodeDataChanged

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.

NodeChildrenChanged

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

DataWatchRemoved

Issued when the client removes a data watcher.

ChildWatchRemoved

Issued when the client removes a child watcher.

Trait Implementations

impl Clone for WatchedEventType[src]

impl Copy for WatchedEventType[src]

impl Debug for WatchedEventType[src]

impl From<i32> for WatchedEventType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.