pub fn lazy<F, T>(f: F) -> Lazy<F>Expand description
Create an endpoint which applies the given function to the incoming request and returns
an immediate value of T.
NOTE: The trait bound of returned value from F should be replaced with IntoTask.