Expand description
Wasm type and value types
Structs§
Enums§
- The kind of a
WasmType
. These correspond to the value types defined by the Component Model design. - An error from creating a
WasmValue
.
Traits§
- The WasmFunc trait may be implemented to represent Wasm func type signatures to be (de)serialized with WAVE.
- The WasmType trait may be implemented to represent types to be (de)serialized with WAVE, notably
value::Type
. The [wasmtime
] crate provides an impl for [wasmtime::component::Type
]. - The WasmValue trait may be implemented to represent values to be (de)serialized with WAVE, notably
value::Value
. Thewasmtime
crate provides an impl for [wasmtime::component::Val
].
Functions§
- Returns an error if the given
WasmType
is not of the givenWasmTypeKind
.