pub type TaskToExecute<R> = Pin<Box<dyn Future<Output = R> + Send + 'static>>;Expand description
The type of future that the pool executes.
It must be Send and 'static, and produce a result of type R.
Aliased Typeยง
pub struct TaskToExecute<R> { /* private fields */ }