Enum zbox::OpsLimit[][src]

pub enum OpsLimit {

Password hash operation limit.

It represents a maximum amount of computations to perform. Higher level will require more CPU cycles to compute.

See https://download.libsodium.org/doc/password_hashing/ for more details.


Trait Implementations

impl Debug for OpsLimit

Formats the value using the given formatter. Read more

impl Copy for OpsLimit

impl Clone for OpsLimit

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OpsLimit

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

This method tests for !=.

impl Default for OpsLimit

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

impl Into<i32> for OpsLimit

Performs the conversion.

impl From<i32> for OpsLimit

Performs the conversion.

Auto Trait Implementations

impl Send for OpsLimit

impl Sync for OpsLimit