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
Http(Error)An HTTP error from the hyper crate.
Serialize(Box<StdError + Send + Sync>)An error trying to serialize a value.
This may be serializing a value that is illegal in JSON or form-url-encoded bodies.
TooManyRedirectsA request tried to redirect too many times.
RedirectLoopAn infinite redirect loop was detected.
Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
impl StdError for Error[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error[src]
impl From<ParseError> for Error[src]
fn from(err: ParseError) -> Error
Performs the conversion.