Enum fathom_web3::signing::RecoveryError
source · [−]pub enum RecoveryError {
InvalidMessage,
InvalidSignature,
}
Expand description
Error during sender recovery.
Variants
InvalidMessage
A message to recover is invalid. Has to be a non-zero 32-bytes slice.
InvalidSignature
A signature is invalid and the sender could not be recovered.
Trait Implementations
sourceimpl Clone for RecoveryError
impl Clone for RecoveryError
sourcefn clone(&self) -> RecoveryError
fn clone(&self) -> RecoveryError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RecoveryError
impl Debug for RecoveryError
sourceimpl Display for RecoveryError
impl Display for RecoveryError
sourceimpl Error for RecoveryError
impl Error for RecoveryError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<RecoveryError> for Error
impl From<RecoveryError> for Error
sourcefn from(original: RecoveryError) -> Error
fn from(original: RecoveryError) -> Error
Converts to this type from the input type.
sourceimpl PartialEq<RecoveryError> for RecoveryError
impl PartialEq<RecoveryError> for RecoveryError
sourcefn eq(&self, other: &RecoveryError) -> bool
fn eq(&self, other: &RecoveryError) -> bool
impl StructuralPartialEq for RecoveryError
Auto Trait Implementations
impl RefUnwindSafe for RecoveryError
impl Send for RecoveryError
impl Sync for RecoveryError
impl Unpin for RecoveryError
impl UnwindSafe for RecoveryError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more