Enum actix_web::multipart::MultipartError
[−]
[src]
pub enum MultipartError { NoContentType, ParseContentType, Boundary, Parse(ParseError), Payload(PayloadError), }
A set of errors that can occur during parsing multipart streams.
Variants
NoContentType
Content-Type header is not found
ParseContentType
Can not parse Content-Type header
Boundary
Multipart boundary is not found
Parse(ParseError)
Error during field parsing
Payload(PayloadError)
Payload error
Trait Implementations
impl Debug for MultipartError
[src]
impl Display for MultipartError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for MultipartError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<ParseError> for MultipartError
[src]
fn from(err: ParseError) -> MultipartError
[src]
Performs the conversion.
impl From<PayloadError> for MultipartError
[src]
fn from(err: PayloadError) -> MultipartError
[src]
Performs the conversion.