Thomas hace 1 año
padre
commit
67d799c014
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/runn.rs

+ 1 - 0
src/runn.rs

@@ -42,6 +42,7 @@ impl IndProgress {
 
 // type BoxFuture<T> = Pin<Box<dyn Future<Output = T> + Send>>;
 
+#[derive(Clone, Debug)]
 pub struct TaskManager<R> {
     tasks: Arc<Mutex<HashMap<usize, task::JoinHandle<anyhow::Result<()>>>>>,
     results_channels: Arc<Mutex<HashMap<usize, Receiver<R>>>>,