Struct etcd::kv::WatchOptions [] [src]

pub struct WatchOptions {
    pub index: Option<u64>,
    pub recursive: bool,
    pub timeout: Option<Duration>,
}

Options for customizing the behavior of kv::watch.

Fields

If given, the watch operation will return the first change at the index or greater, allowing you to watch for changes that happened in the past.

Whether or not to watch all child keys as well.

If given, the watch operation will time out if it's still waiting after the duration.

Trait Implementations

impl Clone for WatchOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for WatchOptions
[src]

impl Debug for WatchOptions
[src]

Formats the value using the given formatter.

impl Default for WatchOptions
[src]

Returns the "default value" for a type. Read more

impl Eq for WatchOptions
[src]

impl Hash for WatchOptions
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for WatchOptions
[src]

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

This method tests for !=.