Trait ExecutorBuilder
pub trait ExecutorBuilder<Node>: Sendwhere
Node: FullNodeTypes,{
type EVM: ConfigureEvm<Primitives = <<Node as FullNodeTypes>::Types as NodeTypes>::Primitives> + 'static;
// Required method
fn build_evm(
self,
ctx: &BuilderContext<Node>,
) -> impl Future<Output = Result<Self::EVM, Report>> + Send;
}
Expand description
A type that knows how to build the executor types.
Required Associated Types§
type EVM: ConfigureEvm<Primitives = <<Node as FullNodeTypes>::Types as NodeTypes>::Primitives> + 'static
type EVM: ConfigureEvm<Primitives = <<Node as FullNodeTypes>::Types as NodeTypes>::Primitives> + 'static
The EVM config to use.
This provides the node with the necessary configuration to configure an EVM.
Required Methods§
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.