Enum telexide_fork::Error [−][src]
pub enum Error {
Telegram(TelegramError),
Hyper(Error),
IO(Error),
HTTP(Error),
JSON(Error),
Command(CommandError),
}Expand description
A common error enum returned by most of the library’s functionality
Variants
Telegram(TelegramError)
An error generated within this library
Hyper(Error)
Tuple Fields
0: ErrorAn error from the hyper crate.
IO(Error)
Tuple Fields
0: ErrorAn std::io error.
HTTP(Error)
Tuple Fields
0: ErrorAn error from the http crate.
JSON(Error)
Tuple Fields
0: ErrorAn error from the serde_json crate.
Command(CommandError)
Tuple Fields
0: CommandErrorAn error happened in a command
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
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