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§
- A compiled WebAssembly Component.
- Global configuration for
EngineBuilder
. - An
Engine
is a global context for the initialization and execution of Spin components. - A builder interface for configuring a new
Engine
. - An instantiated component.
- A “pre-instantiated”
Instance
which has all of its arguments already supplied and is ready to instantiate. - A type used to instantiate
Component
s. - A compiled WebAssembly module, ready to be instantiated.
- An instantiated WebAssembly module.
- A
Store
holds the runtime state of a Spin instance. - A builder interface for configuring a new
Store
. - An
Engine
which is a global context for compilation and management of wasm modules.
Enums§
Constants§
- The default
EngineBuilder::epoch_tick_interval
.