Skip to main content

run_phase_once

Function run_phase_once 

Source
pub async fn run_phase_once(
    ctx: &PhaseContext<'_>,
    phase: CreditRegistrationPhase,
    scope: &PhaseScope,
) -> Result<PhaseTick>
Expand description

Runs exactly one iteration of one phase. The match below is the only place a phase implementation is registered; it is exhaustive over CreditRegistrationPhase, so a variant added there without a dispatch arm here fails to compile.