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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TempFileConfig
impl Send for TempFileConfig
impl Sync for TempFileConfig
impl Unpin for TempFileConfig
impl !UnwindSafe for TempFileConfig
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