[−][src]Trait qiniu_multipart::server::hyper::MultipartHandler
A trait defining a type that can handle an incoming multipart request.
Extends to closures of the type Fn(Multipart<Request>, Response<Fresh>)
,
and subsequently static functions.
Required methods
fn handle_multipart<'a, 'k>(
&self,
multipart: Multipart<Request<'a, 'k>>,
response: Response<'a, Fresh>
)
&self,
multipart: Multipart<Request<'a, 'k>>,
response: Response<'a, Fresh>
)
Generate a response from this multipart request.
Implementors
impl<F> MultipartHandler for F where
F: Fn(Multipart<Request<'_, '_>>, Response<'_, Fresh>),
F: Send + Sync,
[src]
F: Fn(Multipart<Request<'_, '_>>, Response<'_, Fresh>),
F: Send + Sync,