Enum telbot_hyper::Error
source · [−]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)
Hyper(Error)
Serde(Error)
Mime(FromStrError)
Trait 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