#[non_exhaustive]
pub enum Error {
Pattern(PatternProblem),
Init(InitStage),
Prereq(Prerequisite),
State(StateProblem),
Input,
Dh,
Decrypt,
}
Expand description
All errors in snow will include an ErrorKind
.
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.
Pattern(PatternProblem)
The noise pattern failed to parse.
Init(InitStage)
Initialization failure, at a provided stage.
Prereq(Prerequisite)
Missing prerequisite.
State(StateProblem)
A state error.
Input
Invalid input.
Dh
Diffie-hellman failed.
Decrypt
Decryption failed.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.