Crate spin_core

Source
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§

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 Components.
  • A compiled WebAssembly module, ready to be instantiated.
  • An instantiated WebAssembly module.
  • Host state data associated with individual Stores and Instances.
  • 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§

Traits§

  • For consumers that need to use a type other than State as the Store data, this trait must be implemented for that type.

Attribute Macros§