[−][src]Enum salvo::http::errors::read_error::ReadError
An error type for the form_data
crate.
Variants
The Hyper request did not have a Content-Type header.
The Hyper request Content-Type top-level Mime was not Multipart
.
The Hyper request Content-Type sub-level Mime was not FormData
.
The Content-Type header failed to specify boundary token.
A multipart section contained only partial headers.
A multipart section did not have the required Content-Disposition header.
A multipart section did not have a valid corresponding Content-Disposition.
A multipart section Content-Disposition header failed to specify a name.
The request body ended prior to reaching the expected terminating boundary.
HttParse(Error)
An HTTP parsing error from a multipart section.
Io(Error)
An I/O error.
Hyper(Error)
An error was returned from Hyper.
Utf8(Utf8Error)
An error occurred during UTF-8 processing.
An error occurred during character decoding
SerdeJson(Error)
General(String)
Parsing(String)
Filepart is not a file
Trait Implementations
impl Debug for ReadError
[src]
impl Display for ReadError
[src]
impl Error for ReadError
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for ReadError
[src]
impl From<Error> for ReadError
[src]
impl From<Error> for ReadError
[src]
impl From<Error> for ReadError
[src]
impl From<Utf8Error> for ReadError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ReadError
impl Send for ReadError
impl Sync for ReadError
impl Unpin for ReadError
impl !UnwindSafe for ReadError
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,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<E> HttpError for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn code(&Self) -> StatusCode
[src]
fn name(&Self) -> &str
[src]
fn summary(&Self) -> &str
[src]
fn detail(&Self) -> &str
[src]
fn get_type_id(&self) -> TypeId
[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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,