Enum zbox::OpsLimit
[−]
[src]
pub enum OpsLimit { Interactive, Moderate, Sensitive, }
Password hash operation limit.
It represents a maximum amount of computations to perform. Higher level will require more CPU cycles to compute.
See https://download.libsodium.org/doc/password_hashing/ for more details.
Variants
Interactive
Moderate
Sensitive
Trait Implementations
impl Debug for OpsLimit
[src]
impl Copy for OpsLimit
[src]
impl Clone for OpsLimit
[src]
fn clone(&self) -> OpsLimit
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for OpsLimit
[src]
fn eq(&self, __arg_0: &OpsLimit) -> bool
[src]
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[src]
This method tests for !=
.