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]

[src]

Formats the value using the given formatter.

impl Copy for MemLimit
[src]

impl Clone for MemLimit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MemLimit
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Default for MemLimit
[src]

[src]

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