Trait ExecutorTx
pub trait ExecutorTx<Executor>where
Executor: BlockExecutor,{
// Required methods
fn as_executable(&self) -> impl ExecutableTx<Executor>;
fn into_recovered(
self,
) -> Recovered<<Executor as BlockExecutor>::Transaction>;
}
Available on crate feature
evm
only.Expand description
Conversions for executable transactions.
Required Methods§
fn as_executable(&self) -> impl ExecutableTx<Executor>
fn as_executable(&self) -> impl ExecutableTx<Executor>
Converts the transaction into ExecutableTx
.
fn into_recovered(self) -> Recovered<<Executor as BlockExecutor>::Transaction>
fn into_recovered(self) -> Recovered<<Executor as BlockExecutor>::Transaction>
Converts the transaction into Recovered
.
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.