Expand description
Generic Artifact abstraction for Wasmer Engines.
Structs§
- Function
Body Ptr - A safe wrapper around
VMFunctionBody. - Metadata
Header - Metadata header which holds an ABI version and the length of the remaining metadata.
- VMFunction
Body - 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§
- Deserialize
Error - The Deserialize error can occur when loading a compiled Module from a binary.
- Import
Error - An ImportError.
- PreInstantiation
Error - An error while preinstantiating a module.
- Serialize
Error - The Serialize error can occur when serializing a compiled Module into a binary.
Constants§
- VERSION
- Version number of this crate.
Traits§
- Artifact
Create - An
Artifactis the product that theEngineimplementation produce and use. - Upcastable
- Trait needed to get downcasting of
Engines to work.