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 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 !=.

impl Debug for InitError
[src]

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

Formats the value using the given formatter.

impl Display for InitError
[src]

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

Formats the value using the given formatter.

impl Error for InitError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more