ExecutorTx

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>

Converts the transaction into ExecutableTx.

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.

Implementors§

§

impl<Executor> ExecutorTx<Executor> for Recovered<<Executor as BlockExecutor>::Transaction>
where Executor: BlockExecutor,

§

impl<Executor> ExecutorTx<Executor> for WithEncoded<Recovered<<Executor as BlockExecutor>::Transaction>>
where Executor: BlockExecutor,

§

impl<T, Executor> ExecutorTx<Executor> for WithTxEnv<<<Executor as BlockExecutor>::Evm as Evm>::Tx, T>
where T: ExecutorTx<Executor>, Executor: BlockExecutor, <<Executor as BlockExecutor>::Evm as Evm>::Tx: Clone, WithTxEnv<<<Executor as BlockExecutor>::Evm as Evm>::Tx, T>: RecoveredTx<<Executor as BlockExecutor>::Transaction>,