API Reference Wasmtime v0.2.0

Modules

Represents a Wasm instance powered by Wasmtime. The module can be loaded via bytes or a file path. Wasmtime will JIT compile, interpret and make it available. This Elixir module is backed by a GenServer for concurrency reasons and to keep state of the loaded instance.

Struct for configuring Wasmtime options.

A struct representing a Wasm instance from a bytes payload.

A struct representing a Wasm instance from a file. Both .wasm and .wat files can be interpreted by wasmtime.

Wasmtime NIFs. These functions aren't meant to be accessed directly by application code. The Wasmtime module expose them through a GenServer.