Struct sodiumoxide::crypto::pwhash::scryptsalsa208sha256::MemLimit [] [src]

pub struct MemLimit(pub usize);

MemLimit represents the maximum amount of RAM that the functions in this module will use, in bytes.

It is highly recommended to allow the functions to use at least 16 megabytes.

Trait Implementations

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