Crate sp_wasm_interface
source · [−]Expand description
Types and traits for interfacing between the host and the wasm runtime.
Structs
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 provides a function implementation on the host for a wasm function.
Context used by Function
to interact with the allocator and the memory of the wasm instance.
Something that provides implementations for host functions.
Something that can be converted into a wasm compatible Value
.
A trait that requires RefUnwindSafe
when feature = std
.
Something that can be wrapped in a wasm Pointer
.
Something that can read a primitive from a wasm memory location.
Something that provides access to the sandbox.
Something that can may be created from a wasm Value
.
Something that can write a primitive to wasm memory location.