Skip to main content

ExecutorProvider

Trait ExecutorProvider 

Source
pub trait ExecutorProvider<Block>
where Block: Block,
{ type Executor: CallExecutor<Block>; // Required methods fn executor(&self) -> &Self::Executor; fn execution_extensions(&self) -> &ExecutionExtensions<Block>; }
Expand description

Executor Provider

Required Associated Types§

Source

type Executor: CallExecutor<Block>

executor instance

Required Methods§

Source

fn executor(&self) -> &Self::Executor

Get call executor reference.

Source

fn execution_extensions(&self) -> &ExecutionExtensions<Block>

Get a reference to the execution extensions.

Implementors§

Source§

impl<B, E, Block, RA> ExecutorProvider<Block> for Client<B, E, Block, RA>
where B: Backend<Block>, E: CallExecutor<Block>, Block: Block,