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§
Sourcefn as_executable(&self) -> impl ExecutableTx<Executor>
fn as_executable(&self) -> impl ExecutableTx<Executor>
Converts the transaction into ExecutableTx
.
Sourcefn into_recovered(self) -> Recovered<Executor::Transaction>
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.