Skip to main content

boxed_task_future

Function boxed_task_future 

Source
pub fn boxed_task_future<'a, T, Error, Fut>(
    future: Fut,
) -> TaskProcessFuture<'a, Error>
where Fut: Future<Output = Result<T, Error>> + Send + 'a, Error: Send + 'a,
Expand description

Converts an operation into a boxed future.