Enum rouille::input::post::PostError
[−]
[src]
pub enum PostError { WrongContentType, MissingField(String), WrongDataTypeBool(ParseBoolError), WrongDataTypeInt(ParseIntError), WrongDataTypeFloat(ParseFloatError), NotUtf8(String), }
Error that can happen when decoding POST data.
Variants
WrongContentType | The |
MissingField | A field is missing from the received data. |
WrongDataTypeBool | Failed to parse a |
WrongDataTypeInt | Failed to parse an integer field. |
WrongDataTypeFloat | Failed to parse a floating-point field. |
NotUtf8 | Failed to parse a string field. |