Function box_future

Source
pub fn box_future<F, O>(future: F) -> Pin<Box<dyn Future<Output = O> + Send>>
where F: Future<Output = O> + Send + 'static,
Expand description

Internal helper function for the boxed_async macro