Enum zookeeper_client::AddWatchMode
source · pub enum AddWatchMode {
Persistent,
PersistentRecursive,
}
Expand description
Watch mode.
Variants§
Persistent
Combination of stat, data and child watches on watching node.
PersistentRecursive
Combination of stat and data watches on watching node and its children.
Trait Implementations§
source§impl Clone for AddWatchMode
impl Clone for AddWatchMode
source§fn clone(&self) -> AddWatchMode
fn clone(&self) -> AddWatchMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddWatchMode
impl Debug for AddWatchMode
source§impl Hash for AddWatchMode
impl Hash for AddWatchMode
source§impl PartialEq for AddWatchMode
impl PartialEq for AddWatchMode
source§fn eq(&self, other: &AddWatchMode) -> bool
fn eq(&self, other: &AddWatchMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AddWatchMode
impl Eq for AddWatchMode
impl StructuralPartialEq for AddWatchMode
Auto Trait Implementations§
impl Freeze for AddWatchMode
impl RefUnwindSafe for AddWatchMode
impl Send for AddWatchMode
impl Sync for AddWatchMode
impl Unpin for AddWatchMode
impl UnwindSafe for AddWatchMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more