Struct rayon_core::Configuration [−][src]
pub struct Configuration { /* fields omitted */ }
👎 Deprecated:
Use ThreadPoolBuilder
Expand description
Contains the rayon thread pool configuration. Use ThreadPoolBuilder
instead.
Implementations
Creates and return a valid rayon thread pool configuration, but does not initialize it.
Deprecated in favor of ThreadPoolBuilder::build
.
Deprecated in favor of ThreadPoolBuilder::thread_name
.
Deprecated in favor of ThreadPoolBuilder::num_threads
.
pub fn panic_handler<H>(self, panic_handler: H) -> Configuration where
H: Fn(Box<dyn Any + Send>) + Send + Sync + 'static,
[src]
pub fn panic_handler<H>(self, panic_handler: H) -> Configuration where
H: Fn(Box<dyn Any + Send>) + Send + Sync + 'static,
[src]Deprecated in favor of ThreadPoolBuilder::panic_handler
.
Deprecated in favor of ThreadPoolBuilder::stack_size
.
Deprecated in favor of ThreadPoolBuilder::breadth_first
.
pub fn start_handler<H>(self, start_handler: H) -> Configuration where
H: Fn(usize) + Send + Sync + 'static,
[src]
pub fn start_handler<H>(self, start_handler: H) -> Configuration where
H: Fn(usize) + Send + Sync + 'static,
[src]Deprecated in favor of ThreadPoolBuilder::start_handler
.
pub fn exit_handler<H>(self, exit_handler: H) -> Configuration where
H: Fn(usize) + Send + Sync + 'static,
[src]
pub fn exit_handler<H>(self, exit_handler: H) -> Configuration where
H: Fn(usize) + Send + Sync + 'static,
[src]Deprecated in favor of ThreadPoolBuilder::exit_handler
.