Enum jwt_compact::CreationError [−][src]
Expand description
Errors that can occur during token creation.
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.
Header(Error)
Tuple Fields
0: Error
Token header cannot be serialized.
Claims(Error)
Tuple Fields
0: Error
Token claims cannot be serialized into JSON.
CborClaims(Error)
Tuple Fields
0: Error
This is supported on crate feature
serde_cbor
only.Token claims cannot be serialized into CBOR.