pub enum Argon2Error {
Show 36 variants
OutputPtrNull,
OutputTooShort,
OutputTooLong,
PasswordTooShort,
PasswordTooLong,
SaltTooShort,
SaltTooLong,
AdTooShort,
AdTooLong,
SecretTooShort,
SecretTooLong,
TimeTooSmall,
TimeTooLarge,
MemoryTooLittle,
MemoryTooMuch,
LanesTooFew,
LanesTooMany,
PwdPtrMismatch,
SaltPtrMismatch,
SecretPtrMismatch,
AdPtrMismatch,
MemoryAllocationError,
FreeMemoryCbkNull,
AllocateMemoryCbkNull,
IncorrectParameter,
IncorrectType,
OutPtrMismatch,
ThreadsTooFew,
ThreadsTooMany,
MissingArgs,
EncodingFail,
DecodingFail,
ThreadFail,
DecodingLengthFail,
VerifyMismatch,
Unknown(i32),
}Variants§
OutputPtrNull
OutputTooShort
OutputTooLong
PasswordTooShort
PasswordTooLong
SaltTooShort
SaltTooLong
AdTooShort
AdTooLong
SecretTooShort
SecretTooLong
TimeTooSmall
TimeTooLarge
MemoryTooLittle
MemoryTooMuch
LanesTooFew
LanesTooMany
PwdPtrMismatch
SaltPtrMismatch
SecretPtrMismatch
AdPtrMismatch
MemoryAllocationError
FreeMemoryCbkNull
AllocateMemoryCbkNull
IncorrectParameter
IncorrectType
OutPtrMismatch
ThreadsTooFew
ThreadsTooMany
MissingArgs
EncodingFail
DecodingFail
ThreadFail
DecodingLengthFail
VerifyMismatch
Unknown(i32)
Trait Implementations§
Source§impl Clone for Argon2Error
impl Clone for Argon2Error
Source§fn clone(&self) -> Argon2Error
fn clone(&self) -> Argon2Error
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Argon2Error
impl Debug for Argon2Error
Source§impl Display for Argon2Error
impl Display for Argon2Error
Source§impl Error for Argon2Error
impl Error for Argon2Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Argon2Error> for Error
impl From<Argon2Error> for Error
Source§fn from(source: Argon2Error) -> Self
fn from(source: Argon2Error) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Argon2Error
impl PartialEq for Argon2Error
impl Copy for Argon2Error
impl Eq for Argon2Error
impl StructuralPartialEq for Argon2Error
Auto Trait Implementations§
impl Freeze for Argon2Error
impl RefUnwindSafe for Argon2Error
impl Send for Argon2Error
impl Sync for Argon2Error
impl Unpin for Argon2Error
impl UnwindSafe for Argon2Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more