Skip to main content

run_body

Function run_body 

Source
async fn run_body(
    ctx: &PhaseContext<'_>,
    phase: CreditRegistrationPhase,
    scope: &RegistrationScope,
    registry: &mut SuotarStudyRegistry<'_>,
) -> CreditRegistrationResult<Counts>
Expand description

The one place a phase implementation is registered: exhaustive over CreditRegistrationPhase, so a variant added there without an arm here fails to compile. Each phase gets only what it touches, and a phase that asks the study registry gets the iteration’s registry beside it.