pub trait RuntimeApp {
type RunExt: Default;
// Required method
fn build_stage_resolver(
&self,
_ext: &Self::RunExt,
) -> Box<dyn StageResolver>;
}Expand description
Minimal app hooks for wiring product binaries to the runtime.
Today the executor bring-up path is SingleRing StageOpV1-based, but this trait preserves the
intended layering for the eventual stage-resolver based runners.
Required Associated Types§
Required Methods§
Sourcefn build_stage_resolver(&self, _ext: &Self::RunExt) -> Box<dyn StageResolver>
fn build_stage_resolver(&self, _ext: &Self::RunExt) -> Box<dyn StageResolver>
Build the stage resolver used for execution.