Enum rayon::InitError
[−]
[src]
pub enum InitError {
NumberOfThreadsZero,
GlobalPoolAlreadyInitialized,
}Custom error type for the rayon thread pool configuration.
Variants
NumberOfThreadsZeroError if number of threads is set to zero.
GlobalPoolAlreadyInitializedError if the gloal thread pool is initialized multiple times and the configuration is not equal for all configurations.
Trait Implementations
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) -> bool1.0.0
This method tests for !=.