Struct actix_multipart::form::tempfile::TempFileConfig
source · pub struct TempFileConfig { /* private fields */ }
Available on crate feature
tempfile
only.Expand description
Configuration for the TempFile
field reader.
Implementations§
source§impl TempFileConfig
impl TempFileConfig
sourcepub fn error_handler<F>(self, f: F) -> Selfwhere
F: Fn(TempFileError, &HttpRequest) -> Error + Send + Sync + 'static,
pub fn error_handler<F>(self, f: F) -> Selfwhere F: Fn(TempFileError, &HttpRequest) -> Error + Send + Sync + 'static,
Sets custom error handler.
Trait Implementations§
source§impl Clone for TempFileConfig
impl Clone for TempFileConfig
source§fn clone(&self) -> TempFileConfig
fn clone(&self) -> TempFileConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more