pub trait ExecutorProvider<Block: BlockT> {
type Executor: CallExecutor<Block>;
// Required methods
fn executor(&self) -> &Self::Executor;
fn execution_extensions(&self) -> &ExecutionExtensions<Block>;
}Expand description
Executor Provider
Required Associated Types§
Sourcetype Executor: CallExecutor<Block>
type Executor: CallExecutor<Block>
executor instance
Required Methods§
Sourcefn execution_extensions(&self) -> &ExecutionExtensions<Block>
fn execution_extensions(&self) -> &ExecutionExtensions<Block>
Get a reference to the execution extensions.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".