Struct smartpool::RunningTask
source · pub struct RunningTask {
pub spawn: Spawn<Box<dyn Future<Item = (), Error = ()> + Send + 'static>>,
pub close_counted: Atomic<bool>,
}Expand description
The form a future exists in while it is being executed
Fields§
§spawn: Spawn<Box<dyn Future<Item = (), Error = ()> + Send + 'static>>§close_counted: Atomic<bool>