Enum chord_rs_core::client::ClientError
source · pub enum ClientError {
ConnectionFailed(String),
InvalidRequest(String),
NotInitialized,
Unexpected,
PingFailed,
FindSuccessorFailed,
GetSuccessorFailed,
GetSuccessorListFailed,
GetPredecessorFailed,
NotifyFailed,
}Variants§
ConnectionFailed(String)
InvalidRequest(String)
NotInitialized
Unexpected
PingFailed
FindSuccessorFailed
GetSuccessorFailed
GetSuccessorListFailed
GetPredecessorFailed
NotifyFailed
Trait Implementations§
source§impl Clone for ClientError
impl Clone for ClientError
source§fn clone(&self) -> ClientError
fn clone(&self) -> ClientError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ClientError> for ServiceError
impl From<ClientError> for ServiceError
source§fn from(err: ClientError) -> Self
fn from(err: ClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnwindSafe for ClientError
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