Expand description
Spin core execution engine
This crate provides low-level Wasm functionality required by Spin. Most of
this functionality consists of wrappers around wasmtime that narrow the
flexibility of wasmtime to the set of features used by Spin (such as only
supporting wasmtime’s async calling style).
Re-exports§
- pub use wasmtime;
Structs§
- Component
- A compiled WebAssembly Component.
- Config
- Global configuration for EngineBuilder.
- Engine
- An Engineis a global context for the initialization and execution of Spin components.
- EngineBuilder 
- A builder interface for configuring a new Engine.
- Instance
- An instantiated component.
- InstancePre 
- A “pre-instantiated” Instancewhich has all of its arguments already supplied and is ready to instantiate.
- Linker
- A type used to instantiate Components.
- Module
- A compiled WebAssembly module, ready to be instantiated.
- ModuleInstance 
- An instantiated WebAssembly module.
- State
- Host state data associated with individual Stores and Instances.
- Store
- A Storeholds the runtime state of a Spin instance.
- StoreBuilder 
- A builder interface for configuring a new Store.
- WasmtimeEngine 
- An Enginewhich is a global context for compilation and management of wasm modules.
Enums§
Constants§
Traits§
- AsState
- For consumers that need to use a type other than Stateas theStoredata, this trait must be implemented for that type.