pub enum SigningError {
PrehashedContextLength,
InvalidPublicKeyBytes,
InvalidSignatureSComponent,
InvalidSignatureRComponent,
InvalidSignatureLength,
Verify,
}Expand description
Signing errors
Variants§
PrehashedContextLength
Prehashed context length is invalid
InvalidPublicKeyBytes
Public key bytes are invalid
InvalidSignatureSComponent
Signature S component is invalid
InvalidSignatureRComponent
Signature R component is invalid
InvalidSignatureLength
Signature length is invalid
Verify
Signature verification failed
Trait Implementations§
Source§impl Clone for SigningError
impl Clone for SigningError
Source§fn clone(&self) -> SigningError
fn clone(&self) -> SigningError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
1.30.0 · 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<SigningError> for Error
impl From<SigningError> for Error
Source§fn from(err: SigningError) -> Self
fn from(err: SigningError) -> Self
Converts to this type from the input type.
Source§impl Hash for SigningError
impl Hash for SigningError
Source§impl PartialEq for SigningError
impl PartialEq for SigningError
impl Copy for SigningError
impl Eq for SigningError
impl StructuralPartialEq for SigningError
Auto Trait Implementations§
impl Freeze for SigningError
impl RefUnwindSafe for SigningError
impl Send for SigningError
impl Sync for SigningError
impl Unpin for SigningError
impl UnsafeUnpin for SigningError
impl UnwindSafe 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