Enum ddg::query::Error [] [src]

pub enum Error {
    Http(HttpError),
    Serde(Error),
    Url(UrlError),
}

Error from parsing or converting into a URL.

Variants

An error in making the HTTP request, or parsing the query string into a url.

An error in parsing the JSON.

An error in parsing the URL.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl From<HttpError> for Error
[src]

[src]

Performs the conversion.

impl From<UrlError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.