Enum modio::error::Error[][src]

pub enum Error {
    Msg(String),
    Fault {
        code: StatusCode,
        error: ClientError,
    },
    RateLimit {
        reset: Duration,
    },
    Codec(SerdeError),
    Http(HttpError),
    Hyper(HyperError),
    Io(IoError),
    Uri(InvalidUri),
}

Variants

Fields of Fault

Fields of RateLimit

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<String> for Error
[src]

Performs the conversion.

impl<'a> From<&'a str> for Error
[src]

Performs the conversion.

impl From<SerdeError> for Error
[src]

Performs the conversion.

impl From<HttpError> for Error
[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

Performs the conversion.

impl From<IoError> for Error
[src]

Performs the conversion.

impl From<InvalidUri> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error