I can't figure out how to make a custom thread pool (I want to stop it from doing thread pools at all). There are a couple of things that strike me as if this was never actually tried out: the trait ...
// Create new ThreadPool let mut new_pool = match ThreadPool::new(5) { Ok(pool) => pool, Err(_) => { panic!("Create new ThreadPool error"); }, }; // Add your code to ...