Enum ed25519_compact::Error
source · [−]pub enum Error {
SignatureMismatch,
WeakPublicKey,
InvalidPublicKey,
InvalidSecretKey,
InvalidSignature,
InvalidSeed,
InvalidBlind,
InvalidNoise,
ParseError,
}Variants
SignatureMismatch
The signature doesn’t verify.
WeakPublicKey
A weak public key was used.
InvalidPublicKey
The public key is invalid.
InvalidSecretKey
The secret key is invalid.
InvalidSignature
The signature is invalid.
InvalidSeed
The seed doesn’t have the expected length.
InvalidBlind
The blind doesn’t have the expected length.
InvalidNoise
The noise doesn’t have the expected length.
ParseError
Parse error
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more