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