Trait MainBuilder
pub trait MainBuilder: Sized {
type Context;
// Required methods
fn build_mainnet(
self,
) -> Evm<Self::Context, (), EthInstructions<EthInterpreter, Self::Context>, EthPrecompiles>;
fn build_mainnet_with_inspector<INSP>(
self,
inspector: INSP,
) -> Evm<Self::Context, INSP, EthInstructions<EthInterpreter, Self::Context>, EthPrecompiles>;
}
Required Associated Types§
type Context
Required Methods§
fn build_mainnet( self, ) -> Evm<Self::Context, (), EthInstructions<EthInterpreter, Self::Context>, EthPrecompiles>
fn build_mainnet_with_inspector<INSP>( self, inspector: INSP, ) -> Evm<Self::Context, INSP, EthInstructions<EthInterpreter, Self::Context>, EthPrecompiles>
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.