Enum botx_api::api::result::BotXApiError
source · pub enum BotXApiError<TExpressErr> {
ExpressError(TExpressErr),
ReqwestError(Error),
SerdeError(Error),
Unauthorized,
}Variants§
Implementations§
source§impl<TExpressErr> BotXApiError<TExpressErr>
impl<TExpressErr> BotXApiError<TExpressErr>
Trait Implementations§
source§impl<TExpressErr: Debug> Debug for BotXApiError<TExpressErr>
impl<TExpressErr: Debug> Debug for BotXApiError<TExpressErr>
source§impl<TExpressErr> Display for BotXApiError<TExpressErr>where
TExpressErr: Debug,
impl<TExpressErr> Display for BotXApiError<TExpressErr>where TExpressErr: Debug,
source§impl<TExpressErr> Error for BotXApiError<TExpressErr>where
Self: Debug + Display,
impl<TExpressErr> Error for BotXApiError<TExpressErr>where Self: Debug + Display,
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<TExpressErr> From<Error> for BotXApiError<TExpressErr>
impl<TExpressErr> From<Error> for BotXApiError<TExpressErr>
Auto Trait Implementations§
impl<TExpressErr> !RefUnwindSafe for BotXApiError<TExpressErr>
impl<TExpressErr> Send for BotXApiError<TExpressErr>where TExpressErr: Send,
impl<TExpressErr> Sync for BotXApiError<TExpressErr>where TExpressErr: Sync,
impl<TExpressErr> Unpin for BotXApiError<TExpressErr>where TExpressErr: Unpin,
impl<TExpressErr> !UnwindSafe for BotXApiError<TExpressErr>
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