pub trait StageSet<Provider>: Sized {
// Required method
fn builder(self) -> StageSetBuilder<Provider>;
// Provided method
fn set<S: Stage<Provider> + 'static>(
self,
stage: S,
) -> StageSetBuilder<Provider> { ... }
}
Expand description
Combines multiple Stage
s into a single unit.
A StageSet
is a logical chunk of stages that depend on each other. It is up to the
individual stage sets to determine what kind of configuration they expose.
Individual stages in the set can be added, removed and overridden using StageSetBuilder
.
Required Methods§
Sourcefn builder(self) -> StageSetBuilder<Provider>
fn builder(self) -> StageSetBuilder<Provider>
Configures the stages in the set.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.