Function fut

Source
fn fut<T: Send + 'static>(
    f: impl FnOnce() -> Result<T, String> + Send + 'static,
) -> BoxFuture<'static, Result<T, ResponseError>>