pub enum SigningError {
Key(KeyError),
Signature(Error),
Other(Box<dyn Error + Send + Sync>),
}Expand description
Errors that occur specifically during a digital signature operation.
Variants§
Key(KeyError)
The key required for signing could not be obtained or is invalid.
Signature(Error)
The underlying cryptographic library failed to produce a signature.
Other(Box<dyn Error + Send + Sync>)
An unknown error occurred.
Trait Implementations§
Source§impl Debug for SigningError
impl Debug for SigningError
Source§impl Display for SigningError
impl Display for SigningError
Source§impl Error for SigningError
impl Error for SigningError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for SigningError
impl From<Error> for SigningError
Source§impl From<KeyError> for SigningError
impl From<KeyError> for SigningError
Source§impl From<SigningError> for CryptoError
impl From<SigningError> for CryptoError
Source§fn from(source: SigningError) -> Self
fn from(source: SigningError) -> Self
Converts to this type from the input type.
Source§impl From<SigningError> for SignatureGenerationError
impl From<SigningError> for SignatureGenerationError
Source§fn from(source: SigningError) -> Self
fn from(source: SigningError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SigningError
impl !UnwindSafe for SigningError
impl Freeze for SigningError
impl Send for SigningError
impl Sync for SigningError
impl Unpin for SigningError
impl UnsafeUnpin for SigningError
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