pub trait WithNbThreads<T> {
// Required methods
fn nb_threads(&self) -> Option<u32>;
fn with_nb_threads(&self, threads: u32) -> T;
}Expand description
A solver where the parallelism can be configured
Required Methods§
Sourcefn nb_threads(&self) -> Option<u32>
fn nb_threads(&self) -> Option<u32>
get thread count
Sourcefn with_nb_threads(&self, threads: u32) -> T
fn with_nb_threads(&self, threads: u32) -> T
set thread count