revm_handler_interface::handler

Trait Handler

Source
pub trait Handler {
    type Validation: ValidationHandler;
    type PreExecution: PreExecutionHandler;
    type Execution: ExecutionHandler;
    type PostExecution: PostExecutionHandler;

    // Required methods
    fn validation(&mut self) -> &mut Self::Validation;
    fn pre_execution(&mut self) -> &mut Self::PreExecution;
    fn execution(&mut self) -> &mut Self::Execution;
    fn post_execution(&mut self) -> &mut Self::PostExecution;
}

Required Associated Types§

Required Methods§

Source

fn validation(&mut self) -> &mut Self::Validation

Source

fn pre_execution(&mut self) -> &mut Self::PreExecution

Source

fn execution(&mut self) -> &mut Self::Execution

Source

fn post_execution(&mut self) -> &mut Self::PostExecution

Implementors§