sgns::runtime::binaryen::RuntimeEnvironment¶
#include <runtime_environment.hpp>
Public Functions¶
| Name | |
|---|---|
| outcome::result< RuntimeEnvironment > | create(const std::shared_ptr< RuntimeExternalInterface > & rei, const std::shared_ptr< WasmModule > & module, const base::Buffer & state_code) |
| RuntimeEnvironment(RuntimeEnvironment && ) =default | |
| RuntimeEnvironment & | operator=(RuntimeEnvironment && ) =default |
| RuntimeEnvironment(const RuntimeEnvironment & ) =delete | |
| RuntimeEnvironment & | operator=(const RuntimeEnvironment & ) =delete |
| ~RuntimeEnvironment() =default |
Public Attributes¶
| Name | |
|---|---|
| std::shared_ptr< WasmModuleInstance > | module_instance |
| std::shared_ptr< WasmMemory > | memory |
| boost::optional< std::shared_ptr< storage::trie::TopperTrieBatch > > | batch |
Detailed Description¶
Runtime environment is a structure that contains data necessary to operate with Runtime: memory, WASM module, storage batch
Public Functions Documentation¶
function create¶
static outcome::result< RuntimeEnvironment > create(
const std::shared_ptr< RuntimeExternalInterface > & rei,
const std::shared_ptr< WasmModule > & module,
const base::Buffer & state_code
)
function RuntimeEnvironment¶
function operator=¶
function RuntimeEnvironment¶
function operator=¶
function ~RuntimeEnvironment¶
Public Attributes Documentation¶
variable module_instance¶
variable memory¶
variable batch¶
Updated on 2026-03-04 at 13:10:43 -0800