Enum rayon::InitError [] [src]

pub enum InitError {
    NumberOfThreadsZero,
    GlobalPoolAlreadyInitialized,
}

Custom error type for the rayon thread pool configuration.

Variants

Error if number of threads is set to zero.

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]

Formats the value using the given formatter.

impl PartialEq for InitError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for InitError
[src]

Formats the value using the given formatter.

impl Error for InitError
[src]

A short description of the error. Read more

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