pub trait WithNbThreads<T> {
// Required methods
fn nb_threads(&self) -> Option<u32>;
fn with_nb_threads(&self, threads: u32) -> T;
}pub trait WithNbThreads<T> {
// Required methods
fn nb_threads(&self) -> Option<u32>;
fn with_nb_threads(&self, threads: u32) -> T;
}