pub fn handler_fn<F, Args>(f: F) -> FnHandler<F, Args>where F: FnTrait<Args>,
Creates a new FnHandler that wraps the given async function.
FnHandler
This is the main way to convert an async function into a request handler.