Enum argon2::ThreadMode [] [src]

pub enum ThreadMode {
    Sequential,
    Parallel,
}

The thread mode used to perform the hashing.

Variants

Run in one thread.

Run in the same number of threads as the number of lanes.

Methods

impl ThreadMode
[src]

Create a thread mode from the threads count.

Trait Implementations

impl Clone for ThreadMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ThreadMode
[src]

impl Debug for ThreadMode
[src]

Formats the value using the given formatter.

impl Eq for ThreadMode
[src]

impl PartialEq for ThreadMode
[src]

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

This method tests for !=.

impl Default for ThreadMode
[src]

Returns the "default value" for a type. Read more