Enum actix_form_data::Error
source · pub enum Error {
Show 15 variants
Payload(PayloadError),
Multipart(MultipartError),
ParseField(Utf8Error),
ParseInt(ParseIntError),
ParseFloat(ParseFloatError),
ContentType,
ContentDisposition,
Field,
FieldCount,
FieldSize,
FieldType,
Filename,
FileCount,
FileSize,
Panicked,
}
Variants§
Payload(PayloadError)
Multipart(MultipartError)
ParseField(Utf8Error)
ParseInt(ParseIntError)
ParseFloat(ParseFloatError)
ContentType
ContentDisposition
Field
FieldCount
FieldSize
FieldType
Filename
FileCount
FileSize
Panicked
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<MultipartError> for Error
impl From<MultipartError> for Error
source§fn from(value: MultipartError) -> Self
fn from(value: MultipartError) -> Self
Converts to this type from the input type.
source§impl From<ParseFloatError> for Error
impl From<ParseFloatError> for Error
source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl ResponseError for Error
impl ResponseError for Error
source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more