pub fn new() -> Self {
        Self {
            pool_size: cmp::max(1, num_cpus::get()),
            stack_size: 0,
            name_prefix: None,
            after_start: None,
            before_stop: None,
        }
    }
/// Create a default thread pool configuration.
///
/// See the other methods on this type for details on the defaults.
Create a default thread pool configuration.
See the other methods on this type for details on the defaults.
Create a default thread pool configuration . See the other methods on this type for details on the defaults .
pub fn new() -> Self {
        Self {
            pool_size: cmp::max(1, num_cpus::get()),
            stack_size: 0,
            name_prefix: None,
            after_start: None,
            before_stop: None,
        }
    }
pub fn new ( ) -> Self { Self { pool_size : cmp :: max ( 1 , num_cpus :: get ( ) ) , stack_size : 0 , name_prefix : None , after_start : None , before_stop : None , } }
Create a default thread pool configuration.
Create a default thread pool configuration .