RuntimeApp

Trait RuntimeApp 

Source
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§

Source

type RunExt: Default

Extra per-run configuration parsed from app-specific flags.

Required Methods§

Source

fn build_stage_resolver(&self, _ext: &Self::RunExt) -> Box<dyn StageResolver>

Build the stage resolver used for execution.

Implementors§