Enum jws::ErrorKind [−][src]
pub enum ErrorKind {
MissingHeaderParam,
InvalidHeaderParam,
UnsupportedMacAlgorithm,
InvalidMessage,
InvalidSignature,
Other,
}
Expand description
Indicates the type of an error that can occur during JWS processing.
Variants
A required header parameter is missing.
A header param was found but it’s value is invalid.
The MAC algorithm indicates by the JWS header is not supported by the used crate::Verifier
.
The message being processed is not valid.
The signature of a message being verified is invalid.
An error that doesn’t match any of the other types.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more