[−][src]Enum zookeeper::ZkError
Basic type for errors returned from the server.
Variants
This code is never returned from the server. It should not be used other than to indicate a range. Specifically error codes greater than this value are API errors (while values less than this indicate a system error).
Client authentication failed.
Invalid arguments.
Version conflict in set
operation. In case of reconfiguration: reconfig requested from
config version X but last seen config has a different version Y.
Connection to the server has been lost.
A data inconsistency was found.
Attempt to create ephemeral node on a local session.
Invalid Acl
specified.
Invalid callback specified.
Error while marshalling or unmarshalling data.
Not authenticated.
Ephemeral nodes may not have children.
Request to create node that already exists.
Attempted to read a node that does not exist.
The node has children.
State-changing request is passed to read-only server.
Attempt to remove a non-existing watcher.
Operation timeout.
A runtime inconsistency was found.
The session has been expired by the server.
Session moved to another server, so operation is ignored.
System and server-side errors. This is never thrown by the server, it shouldn't be used
other than to indicate a range. Specifically error codes greater than this value, but lesser
than APIError
, are system errors.
Operation is unimplemented.
Trait Implementations
impl Clone for ZkError
[src]
impl Copy for ZkError
[src]
impl Debug for ZkError
[src]
impl Display for ZkError
[src]
impl Error for ZkError
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<i32> for ZkError
[src]
impl PartialEq<ZkError> for ZkError
[src]
impl StructuralPartialEq for ZkError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ZkError
impl Send for ZkError
impl Sync for ZkError
impl Unpin for ZkError
impl UnwindSafe for ZkError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,