Enum rouille::input::post::PostError
[−]
[src]
pub enum PostError {
WrongContentType,
BodyAlreadyExtracted,
IoError(IoError),
NotUtf8(String),
Field {
field: Cow<'static, str>,
error: PostFieldError,
},
}Error that can happen when decoding POST data.
Variants
WrongContentTypeThe Content-Type header of the request indicates that it doesn't contain POST data.
BodyAlreadyExtractedCan't parse the body of the request because it was already extracted.
IoError(IoError)Could not read the body from the request.
NotUtf8(String)Failed to parse a string field.
FieldThere was an error with a particular field.
Fields
field: Cow<'static, str> | |
error: PostFieldError |