Enum urlencoded::UrlDecodingError [] [src]

pub enum UrlDecodingError {
    BodyError(BodyError),
    EmptyQuery,
}

An error representing the two possible errors that can occur during URL decoding.

The first and probably most common one is for the query to be empty, and that goes for both body and url queries.

The second type of error that can occur is that something goes wrong when parsing the request body.

Variants

An error parsing the request body

An empty query string, either in body or url query

Trait Implementations

impl Debug for UrlDecodingError
[src]

[src]

Formats the value using the given formatter.

impl Display for UrlDecodingError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for UrlDecodingError
[src]

[src]

A short description of the error. Read more

[src]

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