pub fn from_fn<F, Fut>(mw: F) -> MiddlewareFnwhere F: Fn(Request, Next) -> Fut + Send + Sync + 'static, Fut: Future<Output = Response> + Send + 'static,