Enum zbox::MemLimit[][src]

pub enum MemLimit {

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.


64 MB

256 MB

1024 MB

Trait Implementations

impl Debug for MemLimit

Formats the value using the given formatter. Read more

impl Copy for MemLimit

impl Clone for MemLimit

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MemLimit

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

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

impl Into<i32> for MemLimit

Performs the conversion.

impl From<i32> for MemLimit

Performs the conversion.

Auto Trait Implementations

impl Send for MemLimit

impl Sync for MemLimit