reth::primitives::transaction

Trait SignedTransactionIntoRecoveredExt

pub trait SignedTransactionIntoRecoveredExt: SignedTransaction {
    // Provided method
    fn into_ecrecovered_unchecked(
        self,
    ) -> Option<TransactionSignedEcRecovered<Self>> { ... }
}
Expand description

Extension trait for [SignedTransaction] to convert it into TransactionSignedEcRecovered.

Provided Methods§

fn into_ecrecovered_unchecked( self, ) -> Option<TransactionSignedEcRecovered<Self>>

Consumes the type, recover signer and return TransactionSignedEcRecovered without ensuring that the signature has a low s value (EIP-2).

Returns None if the transaction’s signature is invalid.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<T> SignedTransactionIntoRecoveredExt for T
where T: SignedTransaction,