pub fn box_future<'fut, F>( future: F, ) -> Pin<Box<dyn Future<Output = <F as Future>::Output> + Send + 'fut>>where F: Future + Send + 'fut,
Helper to box an async block as BoxFuture.
BoxFuture