dharitri_vm_executor

Trait ExecutorService

Source
pub trait ExecutorService: ExecutorLastError {
    // Required method
    fn new_executor(
        &self,
        vm_hooks_builder: Box<dyn VMHooks>,
    ) -> Result<Box<dyn Executor>, ExecutorError>;
}

Required Methods§

Source

fn new_executor( &self, vm_hooks_builder: Box<dyn VMHooks>, ) -> Result<Box<dyn Executor>, ExecutorError>

Creates a new VM executor.

Implementors§