Enum nettle::Error [−][src]
pub enum Error { InvalidArgument { argument_name: &'static str, }, SigningFailed, EncryptionFailed, DecryptionFailed, KeyGenerationFailed, InvalidBitSizes, InconsistentCurves, }
Expand description
Nettle error type.
Variants
Invalid input argument.
Show fields
Fields of InvalidArgument
argument_name: &'static str
Name of the invalid argument.
Signing failed
Encryption failed,
Decryption failed,
Key generation failed,
Invalid q_bits and/or p_bits values.
Arguments are not on the same EC.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error