Enum rayon::InitError
[−]
[src]
pub enum InitError { NumberOfThreadsZero, GlobalPoolAlreadyInitialized, }
Custom error type for the rayon thread pool configuration.
Variants
NumberOfThreadsZero
Error if number of threads is set to zero.
GlobalPoolAlreadyInitialized
Error if the gloal thread pool is initialized multiple times and the configuration is not equal for all configurations.
Trait Implementations
impl Debug for InitError
[src]
impl PartialEq for InitError
[src]
fn eq(&self, __arg_0: &InitError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.