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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl StdError for Error[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>[src]
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[src]
Performs the conversion.