Enum ethers_iqkms::types::SignatureError
source · [−]pub enum SignatureError {
InvalidLength(usize),
DecodingError(FromHexError),
VerificationError(H160, H160),
K256Error(Error),
RecoveryError,
}Expand description
An error involving a signature.
Variants
InvalidLength(usize)
Invalid length, secp256k1 signatures are 65 bytes
DecodingError(FromHexError)
When parsing a signature from string to hex
VerificationError(H160, H160)
Thrown when signature verification failed (i.e. when the address that produced the signature did not match the expected address)
K256Error(Error)
Internal error during signature recovery
RecoveryError
Error in recovering public key from signature
Trait Implementations
sourceimpl Debug for SignatureError
impl Debug for SignatureError
sourceimpl Display for SignatureError
impl Display for SignatureError
sourceimpl Error for SignatureError
impl Error for SignatureError
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<Error> for SignatureError
impl From<Error> for SignatureError
sourcefn from(source: Error) -> SignatureError
fn from(source: Error) -> SignatureError
Converts to this type from the input type.
sourceimpl From<FromHexError> for SignatureError
impl From<FromHexError> for SignatureError
sourcefn from(source: FromHexError) -> SignatureError
fn from(source: FromHexError) -> SignatureError
Converts to this type from the input type.
sourceimpl From<SignatureError> for Eip1559RequestError
impl From<SignatureError> for Eip1559RequestError
sourcefn from(source: SignatureError) -> Eip1559RequestError
fn from(source: SignatureError) -> Eip1559RequestError
Converts to this type from the input type.
sourceimpl From<SignatureError> for Eip2930RequestError
impl From<SignatureError> for Eip2930RequestError
sourcefn from(source: SignatureError) -> Eip2930RequestError
fn from(source: SignatureError) -> Eip2930RequestError
Converts to this type from the input type.
sourceimpl From<SignatureError> for RequestError
impl From<SignatureError> for RequestError
sourcefn from(source: SignatureError) -> RequestError
fn from(source: SignatureError) -> RequestError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for SignatureError
impl Send for SignatureError
impl Sync for SignatureError
impl Unpin for SignatureError
impl !UnwindSafe for SignatureError
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request