Enum sarkara::pwhash::KeyDerivationFail
[−]
[src]
pub enum KeyDerivationFail { ParameterError(String), OutLenTooShort, OutLenTooLong, SaltTooShort, SaltTooLong, }
Key derivation error.
Variants
ParameterError(String)
parameter error.
OutLenTooShort
Output length too short.
OutLenTooLong
Output length too long.
SaltTooShort
Salt too short.
SaltTooLong
Salt too long.
Trait Implementations
impl From<ParamErr> for KeyDerivationFail
[src]
fn from(err: ParamErr) -> KeyDerivationFail
Performs the conversion.
impl Clone for KeyDerivationFail
[src]
fn clone(&self) -> KeyDerivationFail
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more