Enum monto::client::SendErrorKind []

pub enum SendErrorKind {
    Msg(String),
    Broker(BrokerPutError),
    Hyper(Error),
    Io(Error),
    Json(Error),
}

The kind of an error.

Variants

A convenient variant for String.

An error from the Broker.

An error connecting to the Broker.

An I/O error.

An invalid response (bad JSON) was received from the Broker.

Methods

impl SendErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for SendErrorKind

Formats the value using the given formatter.

impl Display for SendErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for SendErrorKind

Performs the conversion.

impl From<String> for SendErrorKind

Performs the conversion.

impl From<SendError> for SendErrorKind

Performs the conversion.