pub enum KeyringError {
UnsupportedAlgorithm,
ParsingError(DecodeError),
ConversionError(Error),
KeyAlreadyExists,
}
Expand description
Errors that may be thrown by this module when importing a JWK key.
Variants§
UnsupportedAlgorithm
JWK key specified an unsupported algorithm
ParsingError(DecodeError)
The contained parameters could not be parsed correctly
ConversionError(Error)
The bytes found could not be cast to a valid public key
KeyAlreadyExists
The key already exists in our keyring
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyringError
impl !RefUnwindSafe for KeyringError
impl Send for KeyringError
impl Sync for KeyringError
impl Unpin for KeyringError
impl !UnwindSafe for KeyringError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more