Enum sodoken::SodokenErrKind [−][src]
#[non_exhaustive]
pub enum SodokenErrKind {
Show 17 variants
AllocationFailed,
BadHashSize,
BadSaltSize,
BadKeySize,
BadPublicKeySize,
BadSecretKeySize,
BadSignatureSize,
BadSeedSize,
BadCipherSize,
BadNonceSize,
BadMessageSize,
BadPassphraseSize,
BadOpsLimit,
BadMemLimit,
WriteOverflow,
InternalSodium,
Other,
}
Expand description
Error Kind Enum for Sodoken OneErr.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
we were unable to allocate memory
the output hash size for this call didn’t fall within constraints
the salt size for this call didn’t fall within constraints
the key size for this call didn’t fall within constraints
the public key size for this call didn’t fall within constraints
the secret key size for this call didn’t fall within constraints
improper size for signature
improper size for seed
improper size for cipher
improper size for nonce
improper size for message
the passphrase size for this call didn’t fall within constraints
the ops limit for this call didn’t fall within constraints
the mem limit for this call didn’t fall within constraints
bad bounds for write operation
Internal libsodium error
OtherErrorType
Trait Implementations
Performs the conversion.
Performs the conversion.