mutant_lib/ops/worker/
config.rs

1use crate::network::Network;
2use crate::network::client::Config as ClientConfig;
3use std::sync::Arc;
4
5pub struct WorkerPoolConfig<Task> {
6    pub network: Arc<Network>,
7    pub client_config: ClientConfig,
8    pub task_processor: Task,
9    pub enable_recycling: bool,
10    pub total_items_hint: usize,
11}