Skip to main content

InitializerFactory

Trait InitializerFactory 

Source
pub trait InitializerFactory: Send + Sync {
    // Required method
    fn create(&self) -> Box<dyn Initializer>;
}
Expand description

Produces a fresh initializer each time the orchestrator starts a run.

Required Methods§

Source

fn create(&self) -> Box<dyn Initializer>

Builds a new initializer instance.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§