pub enum ErrorKind {
InvalidInput,
Unavailable,
Timeout,
NotLeader,
Unexpected(Option<ObjectVersion>),
Other,
}
Expand description
Error type.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorKind
impl<'de> Deserialize<'de> for ErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ErrorKindExt for Twhere
T: ErrorKind,
impl<T> ErrorKindExt for Twhere
T: ErrorKind,
Source§fn error(self) -> TrackableError<Self>
fn error(self) -> TrackableError<Self>
Makes a
TrackableError
instance without cause. Read moreSource§fn cause<E>(self, cause: E) -> TrackableError<Self>
fn cause<E>(self, cause: E) -> TrackableError<Self>
Source§fn takes_over<F, K>(self, from: F) -> TrackableError<Self>
fn takes_over<F, K>(self, from: F) -> TrackableError<Self>
Takes over from other
TrackableError
instance. Read more