Skip to main content

LifecycleStoreFactory

Trait LifecycleStoreFactory 

Source
pub trait LifecycleStoreFactory: Send + Sync {
    // Required method
    fn build(&self, config: &Value) -> Result<Arc<dyn LifecycleStore>>;
}
Expand description

Builds a LifecycleStore from its [storage.<name>] TOML subsection.

Required Methods§

Source

fn build(&self, config: &Value) -> Result<Arc<dyn LifecycleStore>>

Construct the lifecycle-store backend from its config subsection.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§