[−][src]Enum zookeeper_async::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 Eq for ZkError
[src]
impl Error for ZkError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<i32> for ZkError
[src]
impl FromPrimitive for ZkError
[src]
type Primitive = i32
pub fn from_primitive(number: Self::Primitive) -> Self
[src]
impl Hash for ZkError
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ZkError
[src]
pub fn cmp(&self, other: &ZkError) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<ZkError> for ZkError
[src]
pub fn eq(&self, other: &ZkError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<ZkError> for ZkError
[src]
pub fn partial_cmp(&self, other: &ZkError) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ZkError
[src]
impl StructuralPartialEq for ZkError
[src]
impl TryFromPrimitive for ZkError
[src]
type Primitive = i32
pub const NAME: &'static str
[src]
pub fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for ZkError
[src]
impl Send for ZkError
[src]
impl Sync for ZkError
[src]
impl Unpin for ZkError
[src]
impl UnwindSafe for ZkError
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,