Enum tokio_zookeeper::error::Delete
source · pub enum Delete {
NoNode,
BadVersion {
expected: i32,
},
NotEmpty,
}
Expand description
Errors that may cause a delete request to fail.
Variants§
NoNode
No node exists with the given path
.
BadVersion
The target node has a different version than was specified by the call to delete.
NotEmpty
The target node has child nodes, and therefore cannot be deleted.
Trait Implementations§
source§impl Fail for Delete
impl Fail for Delete
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