Crate spin_app

source ·
Expand description

Spin internal application interfaces

This crate contains interfaces to Spin application configuration to be used by crates that implement Spin execution environments: trigger executors and host components, in particular.

Modules§

  • Spin lock file (spin.lock) serialization models.
  • Dynamically-typed value helpers.

Structs§

  • An App holds loaded configuration for a Spin application.
  • An AppComponent holds configuration for a Spin application component.
  • An AppLoader holds an implementation of Loader along with DynamicHostComponents configuration.
  • An AppTrigger holds configuration for a Spin application trigger.
  • MetadataKey is a handle to a typed metadata value.
  • The self-referencing struct.
  • A Variable specifies a custom configuration variable.

Enums§

  • Errors returned by methods in this crate.

Constants§

Traits§

  • A trait for “dynamic” Spin host components.
  • A trait for implementing the low-level operations needed to load an App.

Type Aliases§

Attribute Macros§