Enum rouille::input::json::JsonError [] [src]

pub enum JsonError {
    WrongContentType,
    NotUtf8(FromUtf8Error),
    ParseError(DecoderError),
}

Error that can happen when parsing the JSON input.

Variants

Wrong content type.

The request's body was not UTF8.

Error while parsing.

Trait Implementations

impl Debug for JsonError
[src]

Formats the value using the given formatter.

impl From<FromUtf8Error> for JsonError
[src]

Performs the conversion.

impl From<DecoderError> for JsonError
[src]

Performs the conversion.