pub fn handler<F, Fut>(f: F) -> Handlerwhere F: Fn(Request) -> Fut + Send + Sync + 'static, Fut: Future<Output = Result<Value, String>> + Send + 'static,
A Handler from an async closure.
Handler