Enum zbox::MemLimit
[−]
[src]
pub enum MemLimit { Interactive, Moderate, Sensitive, }
Password hash memory limit.
It represents a maximum amount of memory required to perform password hashing.
See https://download.libsodium.org/doc/password_hashing/ for more details.
Variants
Interactive
64 MB
Moderate
256 MB
Sensitive
1024 MB
Trait Implementations
impl Debug for MemLimit
[src]
impl Copy for MemLimit
[src]
impl Clone for MemLimit
[src]
fn clone(&self) -> MemLimit
[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 MemLimit
[src]
fn eq(&self, __arg_0: &MemLimit) -> 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 !=
.