[−][src]Enum zookeeper::CreateMode
CreateMode value determines how the znode is created on ZooKeeper.
Variants
Persistent
The znode will not be automatically deleted upon client's disconnect.
Ephemeral
The znode will be deleted upon the client's disconnect.
PersistentSequential
The name of the znode will be appended with a monotonically increasing number. The actual
path name of a sequential node will be the given path plus a suffix "i"
where i is the
current sequential number of the node. The sequence number is always fixed length of 10
digits, 0 padded. Once such a node is created, the sequential number will be incremented by
one.
EphemeralSequential
The znode will be deleted upon the client's disconnect, and its name will be appended with a monotonically increasing number.
Container
Container nodes are special purpose nodes useful for recipes such as leader, lock, etc. When
the last child of a container is deleted, the container becomes a candidate to be deleted by
the server at some point in the future. Given this property, you should be prepared to get
ZkError::NoNode
when creating children inside of this container node.
Trait Implementations
impl Clone for CreateMode
[src]
fn clone(&self) -> CreateMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<CreateMode> for CreateMode
[src]
fn eq(&self, other: &CreateMode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for CreateMode
[src]
impl Debug for CreateMode
[src]
Auto Trait Implementations
impl Unpin for CreateMode
impl Sync for CreateMode
impl Send for CreateMode
impl UnwindSafe for CreateMode
impl RefUnwindSafe for CreateMode
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,