pub enum RunBotError {
ChannelSendError(SendError<SimpleUserMove>),
InitError(String),
RunClientError(RunClientError),
TokioError(JoinError),
}Variants§
ChannelSendError(SendError<SimpleUserMove>)
InitError(String)
RunClientError(RunClientError)
TokioError(JoinError)
Trait Implementations§
Source§impl Debug for RunBotError
impl Debug for RunBotError
Source§impl Display for RunBotError
impl Display for RunBotError
Source§impl Error for RunBotError
impl Error for RunBotError
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 RunBotError
impl From<JoinError> for RunBotError
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<SendError<SimpleUserMove>> for RunBotError
impl From<SendError<SimpleUserMove>> for RunBotError
Source§fn from(source: SendError<SimpleUserMove>) -> Self
fn from(source: SendError<SimpleUserMove>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for RunBotError
impl !RefUnwindSafe for RunBotError
impl Send for RunBotError
impl Sync for RunBotError
impl Unpin for RunBotError
impl !UnwindSafe for RunBotError
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