pub trait SynchronizerFactory: Send + Sync {
// Required method
fn create(&self) -> Box<dyn Synchronizer>;
// Provided method
fn is_fdv1_fallback(&self) -> bool { ... }
}Expand description
Produces a fresh synchronizer each time the orchestrator starts a run.
Required Methods§
Sourcefn create(&self) -> Box<dyn Synchronizer>
fn create(&self) -> Box<dyn Synchronizer>
Builds a new synchronizer instance.
Provided Methods§
Sourcefn is_fdv1_fallback(&self) -> bool
fn is_fdv1_fallback(&self) -> bool
Whether this factory builds the FDv1 fallback synchronizer.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".