Enum reqwest::Error [] [src]

pub enum Error {
    Http(Error),
    Serialize(Box<StdError + Send + Sync>),
    TooManyRedirects,
    RedirectLoop,
    // some variants omitted
}

The Errors that may occur when processing a Request.

Variants

An HTTP error from the hyper crate.

An error trying to serialize a value.

This may be serializing a value that is illegal in JSON or form-url-encoded bodies.

A request tried to redirect too many times.

An infinite redirect loop was detected.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<ParseError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.