Enum ruma_api::Error [] [src]

pub enum Error {
    Hyper(Error),
    Io(Error),
    SerdeJson(Error),
    SerdeUrlEncoded(Error),
    StatusCode(StatusCode),
    Uri(UriError),
}

An error when converting an Endpoint::Request to a hyper::Request or a hyper::Response to an Endpoint::Response.

Variants

A Hyper error.

A I/O error.

A Serde JSON error.

A Serde URL encoding error.

An HTTP status code indicating error.

A Uri error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<UriError> for Error
[src]

Performs the conversion.