Crate gp_wasm_interface_common
source ·Expand description
Types and traits for interfacing between the host and the wasm runtime.
Re-exports
pub use wasmi;
Modules
- Implementation of conversions between Substrate and wasmi types.
Structs
- Type to represent a pointer in wasm at the host.
- The Signature of a function
Enums
- Typed value that can be returned from a function.
- Values supported by Substrate on the boundary between host/Wasm.
- Value types supported by Substrate on the boundary between host/Wasm.
Traits
- Something that can be converted into a wasm compatible
Value
. - Something that can be wrapped in a wasm
Pointer
. - Something that can may be created from a wasm
Value
.
Type Aliases
- Host pointer: suit both for 32-bit and 64-bit archs.
- Sandbox memory identifier.
- The word size used in wasm. Normally known as
usize
in Rust.