Enum zookeeper_client::CreateMode
source · pub enum CreateMode {
Persistent,
PersistentSequential,
Ephemeral,
EphemeralSequential,
Container,
}
Expand description
CreateMode specifies ZooKeeper znode type. It covers all znode types with help from CreateOptions::with_ttl.
Variants§
Implementations§
source§impl CreateMode
impl CreateMode
sourcepub const fn with_acls(self, acls: Acls<'_>) -> CreateOptions<'_>
pub const fn with_acls(self, acls: Acls<'_>) -> CreateOptions<'_>
Constructs CreateOptions with this mode and given acls.
Trait Implementations§
source§impl Clone for CreateMode
impl Clone for CreateMode
source§fn clone(&self) -> CreateMode
fn clone(&self) -> CreateMode
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 CreateMode
impl Debug for CreateMode
source§impl PartialEq<CreateMode> for CreateMode
impl PartialEq<CreateMode> for CreateMode
source§fn eq(&self, other: &CreateMode) -> bool
fn eq(&self, other: &CreateMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CreateMode
impl Eq for CreateMode
impl StructuralEq for CreateMode
impl StructuralPartialEq for CreateMode
Auto Trait Implementations§
impl RefUnwindSafe for CreateMode
impl Send for CreateMode
impl Sync for CreateMode
impl Unpin for CreateMode
impl UnwindSafe for CreateMode
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