Struct reqwest::Error
[−]
[src]
pub struct Error { /* fields omitted */ }The Errors that may occur when processing a Request.
Methods
impl Error[src]
fn url(&self) -> Option<&Url>
Returns a possible URL related to this error.
fn get_ref(&self) -> Option<&StdError + 'static>
Returns a reference to the internal error, if available.
The 'static bounds allows using downcast_ref to check the
details of the error.
fn is_http(&self) -> bool
Returns true if the error is related to HTTP.
fn is_serialization(&self) -> bool
Returns true if the error is serialization related.
fn is_redirect(&self) -> bool
Returns true if the error is from a RedirectPolicy.
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<InternalFrom<Error>> for Error[src]
impl<T> From<InternalFrom<T>> for Error where
T: Into<Kind>, [src]
T: Into<Kind>,