WithNbThreads

Trait WithNbThreads 

Source
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§

Source

fn nb_threads(&self) -> Option<u32>

get thread count

Source

fn with_nb_threads(&self, threads: u32) -> T

set thread count

Implementors§