[−][src]Enum rouille::input::json::JsonError
Error that can happen when parsing the JSON input.
Variants
BodyAlreadyExtracted
Can't parse the body of the request because it was already extracted.
WrongContentType
Wrong content type.
IoError(IoError)
Could not read the body from the request. Also happens if the body is not valid UTF-8.
ParseError(Error)
Error while parsing.
Trait Implementations
impl From<Error> for JsonError
[src]
impl From<Error> for JsonError
[src]
impl Display for JsonError
[src]
impl Debug for JsonError
[src]
impl Error for JsonError
[src]
Auto Trait Implementations
impl Unpin for JsonError
impl Sync for JsonError
impl Send for JsonError
impl !UnwindSafe for JsonError
impl !RefUnwindSafe for JsonError
Blanket Implementations
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,