Structs§
- JSON
Error - The JSON version of the executor error. The serialization and deserialization of the JSON error are less sensitive to the order of the variants in the enum. It simplifies the error conversion between different versions of the execution.
Enums§
- Input
Deserialization Type - Input
Serialization Type - The input type for the WASM executor. Enum allows handling different versions of the input without introducing new host functions.
- Return
Type - The return type for the WASM executor. Enum allows handling different versions of the return without introducing new host functions.
- Wasm
Deserialization Block Types - Wasm
Serialization Block Types
Functions§
- convert_
from_ v0_ execution_ result - Converts the
ExecutionV0
to latest execution result. - convert_
from_ v1_ execution_ result - Converts the
ExecutionV1
to latest execution result. - convert_
to_ v1_ execution_ result - Converts the latest execution result to the
ExecutionV1
. - pack_
exists_ size_ result - Pack a
exists
,size
andresult
into oneu64
. - pack_
ptr_ and_ len - Pack a pointer and length into an
u64
. - unpack_
exists_ size_ result - Unpacks an
u64
intoexists
,size
andresult
. - unpack_
ptr_ and_ len - Unpacks an
u64
into the pointer and length.