Show / Hide Table of Contents

Namespace Wasmtime

Classes

Config

Represents a configuration used to create Engine instances.

Engine

Represents the Wasmtime engine.

Export

Represents an export of a WebAssembly module or instance.

Function

Represents a Wasmtime function.

FunctionExport

Represents a function exported from a WebAssembly module or instance.

FunctionImport

Represents a function imported to a WebAssembly module.

Global

Represents a WebAssembly global value.

Global.Accessor<T>

A typed accessor for a WebAssembly global value.

GlobalExport

Represents a global variable exported from a WebAssembly module or instance.

GlobalImport

Represents a global variable imported to a WebAssembly module.

Import

The base class for import types.

Instance

Represents an instantiated WebAssembly module.

Linker

Represents the Wasmtime linker that can be used to define imports and instantiate WebAssembly modules.

Memory

Represents a WebAssembly memory.

MemoryExport

Represents a memory exported from a WebAssembly module or instance.

MemoryImport

Represents a memory imported to a WebAssembly module.

Module

Represents a WebAssembly module.

Store

Represents a Wasmtime store.

Table

Represents a WebAssembly table.

TableExport

Represents a table exported from a WebAssembly module or instance.

TableImport

Represents a table imported to a WebAssembly module.

TrapException

The exception for WebAssembly traps.

TrapFrame

Represents a WebAssembly trap frame.

WasiConfiguration

Represents a WASI configuration.

WasmtimeException

The base type for Wasmtime exceptions.

Structs

ActionResult

A result from a function call which does not produce a value, represents either a successful call or a trap

Caller

Represents caller information for a function.

FunctionResult<T>

A result from a function call which may represent a Value or a Trap

Mutability

Represents the mutability of a WebAssembly global value.

TrapAccessor

Provides access to a WebAssembly trap result

V128

A 128 bit value

ValueBox

Allocation free container for a single value

Interfaces

IActionResult<TResult, TBuilder>

Indicates that the type implementing this interface is a "Result" type for actions (i.e. functions without a return value). This means that the function WASM call will use the TBuilder type to create an instance of the TResult type and return that. This can be used by advanced users to extract the necessary information from a trap result.

IActionResultBuilder<TResult>

A factory which constructs instances of result types which do not contain a return value.

IFunctionResult<TResult, TOk, TBuilder>

Indicates that the type implementing this interface is a "Result" type for function. This means that the function WASM call will use the TBuilder type to create an instance of the TSelf type and return that. This can be used by advanced users to extract the necessary information from a trap result.

IFunctionResultBuilder<TResult, TOk>

A factory which constructs instances of result types which contain a return value.

Enums

CompilerStrategy

Represents the Wasmtime compiler strategy.

OptimizationLevel

Represents the Wasmtime optimization level.

ProfilingStrategy

Represents the Wasmtime code profiling strategy.

ResultType

Indicates what type of result this is

TrapCode

Represents the code associated with a trap.

ValueKind

Represents the possible kinds of WebAssembly values.

Delegates

CallerAction

Action accepting a caller

CallerAction<T>

Action accepting a caller and 1 parameter

CallerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Action accepting a caller and 10 parameters

CallerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

Action accepting a caller and 11 parameters

CallerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

Action accepting a caller and 12 parameters

CallerAction<T1, T2>

Action accepting a caller and 2 parameters

CallerAction<T1, T2, T3>

Action accepting a caller and 3 parameters

CallerAction<T1, T2, T3, T4>

Action accepting a caller and 4 parameters

CallerAction<T1, T2, T3, T4, T5>

Action accepting a caller and 5 parameters

CallerAction<T1, T2, T3, T4, T5, T6>

Action accepting a caller and 6 parameters

CallerAction<T1, T2, T3, T4, T5, T6, T7>

Action accepting a caller and 7 parameters

CallerAction<T1, T2, T3, T4, T5, T6, T7, T8>

Action accepting a caller and 8 parameters

CallerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>

Action accepting a caller and 9 parameters

CallerFunc<TResult>

Func accepting a caller

CallerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>

Func accepting a caller and 9 parameters

CallerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>

Func accepting a caller and 10 parameters

CallerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>

Func accepting a caller and 11 parameters

CallerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>

Func accepting a caller and 12 parameters

CallerFunc<T, TResult>

Func accepting a caller and 1 parameter

CallerFunc<T1, T2, TResult>

Func accepting a caller and 2 parameters

CallerFunc<T1, T2, T3, TResult>

Func accepting a caller and 3 parameters

CallerFunc<T1, T2, T3, T4, TResult>

Func accepting a caller and 4 parameters

CallerFunc<T1, T2, T3, T4, T5, TResult>

Func accepting a caller and 5 parameters

CallerFunc<T1, T2, T3, T4, T5, T6, TResult>

Func accepting a caller and 6 parameters

CallerFunc<T1, T2, T3, T4, T5, T6, T7, TResult>

Func accepting a caller and 7 parameters

CallerFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>

Func accepting a caller and 8 parameters

Function.UntypedCallbackDelegate

Encapsulates an untyped callback that receives arguments and can set results via a span of ValueBox.

In This Article
Back to top Generated by DocFX