Crate sp_wasm_interface[−][src]
Types and traits for interfacing between the host and the wasm runtime.
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
| Function | Something that provides a function implementation on the host for a wasm function. |
| FunctionContext | Context used by |
| HostFunctions | Something that provides implementations for host functions. |
| IntoValue | Something that can be converted into a wasm compatible |
| MaybeRefUnwindSafe | A trait that requires |
| PointerType | Something that can be wrapped in a wasm |
| ReadPrimitive | Something that can read a primitive from a wasm memory location. |
| Sandbox | Something that provides access to the sandbox. |
| TryFromValue | Something that can may be created from a wasm |
| WritePrimitive | Something that can write a primitive to wasm memory location. |
Type Definitions
| MemoryId | Sandbox memory identifier. |
| Result | Result type used by traits in this crate. |
| WordSize | The word size used in wasm. Normally known as |