Enum tokio_zookeeper::error::Create
source · pub enum Create {
NodeExists,
NoNode,
NoChildrenForEphemerals,
InvalidAcl,
}
Expand description
Errors that may cause a create request to fail.
Variants§
NodeExists
A node with the given path
already exists.
NoNode
The parent node of the given path
does not exist.
NoChildrenForEphemerals
The parent node of the given path
is ephemeral, and cannot have children.
InvalidAcl
The given ACL is invalid.
Trait Implementations§
source§impl Fail for Create
impl Fail for Create
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more