pub type MultipartEndpointHandler = Arc<dyn Fn(RequestContext, Multipart) -> Pin<Box<dyn Future<Output = Result<HttpResponse>>>> + Send + Sync>;Expand description
Multipart endpoint handler function signature Note: Multipart streams are not Send, so they must be processed immediately The returned future does not need to be Send as it’s processed on the same task
Aliased Type§
pub struct MultipartEndpointHandler { /* private fields */ }