Crate wasmer_engine[][src]

Expand description

Generic Engine abstraction for Wasmer Engines.


A unique identifier for an Engine.

A function export value with an extra function pointer to initialize host environments.

Extra metadata about ExportFunctions.

This is a global cache of backtrace frame information for all active

Description of a frame in a backtrace for a RuntimeError::trace.

Represents a continuous region of executable memory starting with a function entry point.

An RAII structure used to unregister a module’s frame information when the module is destroyed.

A Resolver that links two resolvers together in a chain.

Resolver implementation that always resolves to None. Equivalent to ().

A struct representing an aborted instruction execution, with a message indicating the cause.


The Deserialize error can occur when loading a compiled Module from a binary.

The value of an export passed from one instance to another.

An ImportError.

An error while instantiating a module.

The WebAssembly.LinkError object indicates an error during module instantiation (besides traps from the start function).

The Serialize error can occur when serializing a compiled Module into a binary.


Version number of this crate.


An Artifact is the product that the Engine implementation produce and use.

A trait for chaining resolvers together.

A unimplemented Wasmer Engine.

Import resolver connects imports with available exported values.

Import resolver connects imports with available exported values.

An engine delegates the creation of memories, tables, and globals to a foreign implementor of this trait.


Returns whether the pc, according to globally registered information, is a wasm trap or not.

Registers a new compiled module’s frame information.

This function allows to match all imports of a ModuleInfo with concrete definitions provided by a Resolver.