Enum telbot_hyper::Error [−][src]
pub enum Error {
Telegram(TelegramError),
Hyper(Error),
Serde(Error),
Mime(FromStrError),
}Expand description
Error that can occur while requesting and responding to the server.
Variants
Telegram(TelegramError)Tuple Fields of Telegram
Hyper(Error)Tuple Fields of Hyper
0: ErrorSerde(Error)Tuple Fields of Serde
0: ErrorMime(FromStrError)Tuple Fields of Mime
0: FromStrErrorTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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