Trait ExecutorTx

Source
pub trait ExecutorTx<Executor: BlockExecutor> {
    // Required methods
    fn as_executable(&self) -> impl ExecutableTx<Executor>;
    fn into_recovered(self) -> Recovered<Executor::Transaction>;
}
Expand description

Conversions for executable transactions.

Required Methods§

Source

fn as_executable(&self) -> impl ExecutableTx<Executor>

Converts the transaction into ExecutableTx.

Source

fn into_recovered(self) -> Recovered<Executor::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.

Implementations on Foreign Types§

Source§

impl<Executor: BlockExecutor> ExecutorTx<Executor> for Recovered<Executor::Transaction>

Source§

fn as_executable(&self) -> impl ExecutableTx<Executor>

Source§

fn into_recovered(self) -> Self

Source§

impl<Executor: BlockExecutor> ExecutorTx<Executor> for WithEncoded<Recovered<Executor::Transaction>>

Source§

fn as_executable(&self) -> impl ExecutableTx<Executor>

Source§

fn into_recovered(self) -> Recovered<Executor::Transaction>

Implementors§