pub enum RecoveryError {
SignatureParseError(String),
WrongParameters(String),
}Expand description
An error indicating that recovering the recovery of the signature y parity bit failed.
Variants§
SignatureParseError(String)
The signature is syntactically invalid and cannot be parsed.
WrongParameters(String)
Recovery failed which can only happen if parameters are wrong: signature was not done on given digest or was done by another key pair.
Trait Implementations§
Source§impl Clone for RecoveryError
impl Clone for RecoveryError
Source§fn clone(&self) -> RecoveryError
fn clone(&self) -> RecoveryError
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 RecoveryError
impl Debug for RecoveryError
Source§impl Hash for RecoveryError
impl Hash for RecoveryError
Source§impl PartialEq for RecoveryError
impl PartialEq for RecoveryError
impl Eq for RecoveryError
impl StructuralPartialEq for RecoveryError
Auto Trait Implementations§
impl Freeze for RecoveryError
impl RefUnwindSafe for RecoveryError
impl Send for RecoveryError
impl Sync for RecoveryError
impl Unpin for RecoveryError
impl UnwindSafe for RecoveryError
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