Trait FromRecoveredTx
pub trait FromRecoveredTx<Tx> {
// Required method
fn from_recovered_tx(tx: &Tx, sender: Address) -> Self;
}
Expand description
Helper user-facing trait to allow implementing IntoTxEnv
on instances of [Recovered
].
Required Methods§
fn from_recovered_tx(tx: &Tx, sender: Address) -> Self
fn from_recovered_tx(tx: &Tx, sender: Address) -> Self
Builds a TxEnv
from a transaction and a sender address.
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.
Implementations on Foreign Types§
§impl FromRecoveredTx<SeismicTransactionSigned> for SeismicTransaction<TxEnv>
impl FromRecoveredTx<SeismicTransactionSigned> for SeismicTransaction<TxEnv>
fn from_recovered_tx( tx: &SeismicTransactionSigned, sender: Address, ) -> SeismicTransaction<TxEnv>
§impl FromRecoveredTx<SeismicTxEnvelope> for SeismicTransaction<TxEnv>
Necessary to run a test case that uses the SeismicAlloyReceiptBuilder for the SeismicEvm
Necessary to include in this crate due to the orphan rule.
impl FromRecoveredTx<SeismicTxEnvelope> for SeismicTransaction<TxEnv>
Necessary to run a test case that uses the SeismicAlloyReceiptBuilder for the SeismicEvm Necessary to include in this crate due to the orphan rule.