Enum argon2_async::Error [−][src]
#[non_exhaustive]
pub enum Error {
Communication,
Argon(Error),
PasswordHash(Error),
MissingConfig,
}Expand description
All possible errors that can happen.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Communication
An error was encountered while waiting for a background thread to complete.
Argon(Error)
Tuple Fields
0: ErrorThe underlying Argon2 hashing implementation threw an error.
PasswordHash(Error)
Tuple Fields
0: ErrorThe password string handling library threw an error
MissingConfig
The global configuration has not been set.
