pub enum HandlingFormDataResult {
Pass,
Stop,
Shutdown,
}Expand description
Controls stream execution during form-data parsing.
Variants§
Pass
Continue reading and parsing next field.
Stop
Stop parsing form-data fields but keep connection open.
Shutdown
Terminate reading and close the connection immediately.
Auto Trait Implementations§
impl Freeze for HandlingFormDataResult
impl RefUnwindSafe for HandlingFormDataResult
impl Send for HandlingFormDataResult
impl Sync for HandlingFormDataResult
impl Unpin for HandlingFormDataResult
impl UnsafeUnpin for HandlingFormDataResult
impl UnwindSafe for HandlingFormDataResult
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