Trait risc0_zkvm::Executor
source · pub trait Executor {
// Required method
fn execute(&self, env: ExecutorEnv<'_>, elf: &[u8]) -> Result<SessionInfo>;
}
Expand description
An Executor can execute a given ELF binary.
Required Methods§
sourcefn execute(&self, env: ExecutorEnv<'_>, elf: &[u8]) -> Result<SessionInfo>
fn execute(&self, env: ExecutorEnv<'_>, elf: &[u8]) -> Result<SessionInfo>
Execute the specified ELF binary.
This only executes the program and does not generate a receipt.