pub trait ExecutorService: ExecutorLastError {
// Required method
fn new_executor(
&self,
vm_hooks_builder: Box<dyn VMHooks>,
) -> Result<Box<dyn Executor>, ExecutorError>;
}
Required Methods§
Sourcefn new_executor(
&self,
vm_hooks_builder: Box<dyn VMHooks>,
) -> Result<Box<dyn Executor>, ExecutorError>
fn new_executor( &self, vm_hooks_builder: Box<dyn VMHooks>, ) -> Result<Box<dyn Executor>, ExecutorError>
Creates a new VM executor.