Skip to main content

pre_map_adapter_ops

Function pre_map_adapter_ops 

Source
pub fn pre_map_adapter_ops(
    tree: &SceneTree,
    phases: &HashMap<String, WorkloadPhase>,
    default_driver: &str,
    ctx: &PreMapContext<'_>,
) -> Result<(), String>
Expand description

SRD-117 §9.1 — show every op the scenario will reach to the crate::adapter::PreMapHook of the adapter it resolves to, then tell each hook the walk has ended.

An op’s adapter is its own adapter: when it has one, else its phase’s, else the session default: the resolution executor::run_phase makes.