Enum ddg::query::Error
[−]
[src]
pub enum Error { Http(HttpError), SerdeJson(Error), }
Error from parsing or convertingi into a URL.
Variants
Http(HttpError)
An error in making the HTTP request, or parsing the query string into a url.
SerdeJson(Error)
An error in parsing the JSON.
Trait Implementations
impl Debug for Error
[src]
impl From<HttpError> for Error
[src]
fn from(error: HttpError) -> Self
Performs the conversion.
impl From<Error> for Error
[src]
fn from(error: Error) -> Self
Performs the conversion.