revm_wiring::evm_wiring

Trait EvmWiring

Source
pub trait EvmWiring: Sized {
    type ExternalContext: Sized;
    type ChainContext: Sized + Default + Debug;
    type Database: Database;
    type Block: Block;
    type Transaction: Transaction;
    type Hardfork: HardforkTrait;
    type HaltReason: HaltReasonTrait;
}

Required Associated Types§

Source

type ExternalContext: Sized

External context type

Source

type ChainContext: Sized + Default + Debug

Chain context type.

Source

type Database: Database

Database type.

Source

type Block: Block

The type that contains all block information.

Source

type Transaction: Transaction

The type that contains all transaction information.

Source

type Hardfork: HardforkTrait

The type that enumerates the chain’s hardforks.

Source

type HaltReason: HaltReasonTrait

Halt reason type.

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.

Implementors§