Expand description
Spin core execution engine
This crate provides low-level Wasm and WASI functionality required by Spin.
Most of this functionality consists of wrappers around wasmtime and
wasmtime_wasi that narrows 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
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 opaque handle returned by
crate::EngineBuilder::add_host_component
which can be passed to HostComponentsData to access or set associated
HostComponent::Data.Holds a heterogenous set of
HostComponent::Datas.An error returned from the
proc_exit host syscall.An instantiated WebAssembly module.
A pre-initialized instance that is ready to be instantiated.
A compiled WebAssembly module, ready to be instantiated.
An in-memory stdio output buffer.
A
Store holds the runtime state of a Spin instance.A builder interface for configuring a new
Store.Enums
Representation of a WebAssembly trap and what caused it to occur.
Constants
The default [
Config::epoch_tick_interval].Traits
A trait for Spin “host components”.
Type Definitions
An alias for
wasmtime::Linker specialized to Data.