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§
Sourcetype ExternalContext: Sized
type ExternalContext: Sized
External context type
Sourcetype ChainContext: Sized + Default + Debug
type ChainContext: Sized + Default + Debug
Chain context type.
Sourcetype Transaction: Transaction
type Transaction: Transaction
The type that contains all transaction information.
Sourcetype Hardfork: HardforkTrait
type Hardfork: HardforkTrait
The type that enumerates the chain’s hardforks.
Sourcetype HaltReason: HaltReasonTrait
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.