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

64 MB

256 MB

1024 MB

Trait Implementations

impl Debug for MemLimit
[src]

Formats the value using the given formatter. Read more

impl Copy for MemLimit
[src]

impl Clone for MemLimit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MemLimit
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for MemLimit
[src]

Returns the "default value" for a type. Read more

impl Into<i32> for MemLimit
[src]

Performs the conversion.

impl From<i32> for MemLimit
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for MemLimit

impl Sync for MemLimit