pub enum RunClientError {
WriteError(WriteMessageError),
ReadError(ReadMessagesError),
ManageStateError(ManageStateError),
TokioError(JoinError),
}Variants§
WriteError(WriteMessageError)
ReadError(ReadMessagesError)
ManageStateError(ManageStateError)
TokioError(JoinError)
Trait Implementations§
Source§impl Debug for RunClientError
impl Debug for RunClientError
Source§impl Display for RunClientError
impl Display for RunClientError
Source§impl Error for RunClientError
impl Error for RunClientError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<JoinError> for RunClientError
impl From<JoinError> for RunClientError
Source§impl From<ManageStateError> for RunClientError
impl From<ManageStateError> for RunClientError
Source§fn from(source: ManageStateError) -> Self
fn from(source: ManageStateError) -> Self
Converts to this type from the input type.
Source§impl From<ReadMessagesError> for RunClientError
impl From<ReadMessagesError> for RunClientError
Source§fn from(source: ReadMessagesError) -> Self
fn from(source: ReadMessagesError) -> Self
Converts to this type from the input type.
Source§impl From<RunClientError> for RunBotError
impl From<RunClientError> for RunBotError
Source§fn from(source: RunClientError) -> Self
fn from(source: RunClientError) -> Self
Converts to this type from the input type.
Source§impl From<WriteMessageError> for RunClientError
impl From<WriteMessageError> for RunClientError
Source§fn from(source: WriteMessageError) -> Self
fn from(source: WriteMessageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for RunClientError
impl !RefUnwindSafe for RunClientError
impl Send for RunClientError
impl Sync for RunClientError
impl Unpin for RunClientError
impl !UnwindSafe for RunClientError
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