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 Debug for MemLimit
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 MemLimit
[src]
impl Copy for MemLimit
impl Clone for MemLimit
[src]
impl Clone for MemLimit
fn clone(&self) -> MemLimit
[src]
fn clone(&self) -> MemLimit
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 MemLimit
[src]
impl PartialEq for MemLimit
fn eq(&self, other: &MemLimit) -> bool
[src]
fn eq(&self, other: &MemLimit) -> 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 MemLimit
[src]
impl Default for MemLimit
impl Into<i32> for MemLimit
[src]
impl Into<i32> for MemLimit
impl From<i32> for MemLimit
[src]
impl From<i32> for MemLimit