Re-exports§
pub use crate::factor::ConfiguredApp;
pub use crate::runtime_config::FactorRuntimeConfigSource;
pub use crate::runtime_config::RuntimeConfigSourceFinalizer;
pub use anyhow;
pub use serde;
pub use wasmtime;
Modules§
Structs§
- An
App
holds loaded configuration for a Spin application. - An
AppComponent
holds configuration for a Spin application component. - An InitContext is passed to
Factor::init
, giving access to the global commonwasmtime::component::Linker
. - A PrepareContext is passed to
Factor::prepare
.
Enums§
Traits§
- A contained (i.e., “factored”) piece of runtime functionality.
- A builder for a
Factor
’s per instance state. - Allows querying an
InstanceBuilders
for a particularFactor
’sInstanceBuilder
. - A collection of
Factor
s that are initialized and configured together. - Get the state of a particular Factor from the overall InstanceState
- A helper trait for when the type implementing
FactorInstanceBuilder
is also the instance state.