Enum argon2::ThreadMode [−][src]
pub enum ThreadMode {
Sequential,
Parallel,
}
Expand description
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.
Implementations
Create a thread mode from the threads count.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ThreadMode
impl Send for ThreadMode
impl Sync for ThreadMode
impl Unpin for ThreadMode
impl UnwindSafe for ThreadMode
Blanket Implementations
Mutably borrows from an owned value. Read more