Enum monto::client::SendErrorKind
[−]
pub enum SendErrorKind { Msg(String), Broker(BrokerPutError), Hyper(Error), Io(Error), Json(Error), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Broker(BrokerPutError)
An error from the Broker.
Hyper(Error)
An error connecting to the Broker.
Io(Error)
An I/O error.
Json(Error)
An invalid response (bad JSON) was received from the Broker.
Methods
impl SendErrorKind
fn description(&self) -> &str
A string describing the error kind.