[−][src]Enum rouille::input::post::PostError
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
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.
NotUtf8(String)
Failed to parse a string field.
There was an error with a particular field.
Fields of Field
field: Cow<'static, str>
error: PostFieldError
Trait Implementations
impl Debug for PostError
[src][+]
impl Display for PostError
[src][+]
impl Error for PostError
[src][+]
impl From<Error> for PostError
[src][+]
Auto Trait Implementations
impl !RefUnwindSafe for PostError
impl Send for PostError
impl Sync for PostError
impl Unpin for PostError
impl !UnwindSafe for PostError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,