Enum tg_botapi::BotError [−][src]
pub enum BotError {
Http(Error),
Json(Error),
Api {
error_code: i64,
description: String,
parameters: Option<ResponseParameters>,
},
}
Variants
Http(Error)
Tuple Fields of Http
0: Error
Json(Error)
Tuple Fields of Json
0: Error
Fields of Api
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BotError
impl !UnwindSafe for BotError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more