Expand description
Execution mode dispatcher for rWasm-based runtimes.
This module defines a thin abstraction over different execution backends (contract vs system runtimes). The goal is to provide a uniform interface for driving execution, memory access, fuel accounting and context handling, while allowing the underlying runtime to differ.
From the executor’s point of view, ExecutionMode behaves like a tagged
union with identical operational semantics.
Structs§
- Contract
Runtime - Runtime responsible for executing a single contract invocation.
- System
Runtime - A system runtime instance.
Enums§
- Execution
Mode - Represents the active execution mode.