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§

wasmi_impl
Implementation of conversions between Substrate and wasmi types.

Structs§

Pointer
Type to represent a pointer in wasm at the host.
Signature
The Signature of a function

Enums§

ReturnValue
Typed value that can be returned from a function.
Value
Values supported by Substrate on the boundary between host/Wasm.
ValueType
Value types supported by Substrate on the boundary between host/Wasm.

Traits§

IntoValue
Something that can be converted into a wasm compatible Value.
PointerType
Something that can be wrapped in a wasm Pointer.
TryFromValue
Something that can may be created from a wasm Value.

Type Aliases§

HostPointer
Host pointer: suit both for 32-bit and 64-bit archs.
MemoryId
Sandbox memory identifier.
WordSize
The word size used in wasm. Normally known as usize in Rust.