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 Display for InitError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for InitError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

Derived Implementations

impl PartialEq for InitError

fn eq(&self, __arg_0: &InitError) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Debug for InitError

fn fmt(&self, __arg_0: &mut Formatter) -> Result