Enum roadrunner::Error
[−]
[src]
pub enum Error {
UrlParse(ParseError),
UriParse(UriError),
Hyper(Error),
CharsetDecode,
Io(Error),
JsonError(Error),
NativeTlsError(Error),
}The error that can happen during a request.
Variants
UrlParse(ParseError)Indicate an url parsing error.
UriParse(UriError)Also indicate an url parsing error.
Hyper(Error)Error reported by hyper.
CharsetDecodeResponse content cannot be decoded successfully.
Io(Error)IO error.
JsonError(Error)Error reported by serde_json.
NativeTlsError(Error)native_tls error
Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
impl Error for Error[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ParseError> for Error[src]
fn from(err: ParseError) -> Error
Performs the conversion.