Enum ddg::query::Error
[−]
[src]
pub enum Error { Http(HttpError), Serde(Error), Url(UrlError), }
Error from parsing or converting into a URL.
Variants
Http(HttpError)
An error in making the HTTP request, or parsing the query string into a url.
Serde(Error)
An error in parsing the JSON.
Url(UrlError)
An error in parsing the URL.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more