Core

Trait Core 

Source
pub trait Core {
    type Lane;

    // Required methods
    fn plan(&mut self) -> TickPlan<Self::Lane>;
    fn execute_lane(&mut self, lane: Self::Lane) -> LaneVerdict;
    fn end_tick(&mut self);
    fn finish(self);
}

Required Associated Types§

Required Methods§

Source

fn plan(&mut self) -> TickPlan<Self::Lane>

2026-09-25: Decide the tick’s lanes, or that the loop ends.

Source

fn execute_lane(&mut self, lane: Self::Lane) -> LaneVerdict

2026-09-25: Run one lane; its verdict decides whether the tick goes on.

Source

fn end_tick(&mut self)

2026-09-25: The work after the lanes; skipped when a lane returns SkipRest.

Source

fn finish(self)

2026-09-25: Called once, after a plan with shutdown set.

Implementors§