Expand description

Generic Artifact abstraction for Wasmer Engines.

Structs

A safe wrapper around VMFunctionBody.

Metadata header which holds an ABI version and the length of the remaining metadata.

A placeholder byte-sized type which is just used to provide some amount of type safety when dealing with pointers to JIT-compiled function bodies. Note that it’s deliberately not Copy, as we shouldn’t be carelessly copying function body bytes around.

Enums

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

An ImportError.

An error while preinstantiating a module.

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

Constants

Version number of this crate.

Traits

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

Trait needed to get downcasting of Engines to work.