Crate wasmedge_types

Source
Expand description

The wasmedge-types crate defines a group of common data structures used by both wasmedge-sdk and wasmedge-sys crates.

See also

Modules§

error
Defines WasmEdge error types.

Structs§

FuncType
Struct of WasmEdge FuncType.
GlobalType
Struct of WasmEdge GlobalType.
MemoryType
Struct of WasmEdge MemoryType.
TableType
Struct of WasmEdge TableType.

Enums§

CompilerOptimizationLevel
Defines WasmEdge AOT compiler optimization level.
CompilerOutputFormat
Defines WasmEdge AOT compiler output binary format.
ExternalInstanceType
Defines the type of external WasmEdge instances.
HostRegistration
Defines WasmEdge host module registration enum.
Mutability
Defines the mutability property of WasmEdge Global variables.
NeverType
This is a workaround solution to the never type in Rust. It will be replaced by ! once it is stable.
RefType
Defines WasmEdge reference types.
ValType
Defines WasmEdge value types.

Functions§

wat2wasm
Parses in-memory bytes as either the WebAssembly Text format, or a binary WebAssembly module. Parses in-memory bytes as either the WebAssembly Text format, or a binary WebAssembly module.

Type Aliases§

WasmEdgeResult
The WasmEdge result type.