Function thruster::middleware::json::__async_json [−][src]
pub async fn __async_json<T: 'static + Context + Send + Sync>(
context: T,
next: MiddlewareNext<T>
) -> MiddlewareResult<T>
Expand description
Middleware to set the request to respond with JSON type.