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 Debug for OpsLimit
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for OpsLimit
[src]
impl Copy for OpsLimit
impl Clone for OpsLimit
[src]
impl Clone for OpsLimit
fn clone(&self) -> OpsLimit
[src]
fn clone(&self) -> OpsLimit
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for OpsLimit
[src]
impl PartialEq for OpsLimit
fn eq(&self, other: &OpsLimit) -> bool
[src]
fn eq(&self, other: &OpsLimit) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Default for OpsLimit
[src]
impl Default for OpsLimit
impl Into<i32> for OpsLimit
[src]
impl Into<i32> for OpsLimit
impl From<i32> for OpsLimit
[src]
impl From<i32> for OpsLimit