pub enum Step {
Advanced,
Eos,
Pending,
}Expand description
The outcome of one step_source_sink iteration: the frame-at-a-time analog
of the run_* runners, for a caller that owns the loop rather than handing it
to the runner. This is what lets an external scheduler drive a static pipeline
one frame at a time and get control back, e.g. a C superloop calling in per
frame over the FFI seam (g2g-mcu::cffi), or an RTOS task interleaving the
pipeline with other work.
Variants§
Advanced
One frame was pulled from the source and delivered to the sink (or dropped by a fused transform); call again for the next.
Eos
The source reported end of stream; no frame this step, stop calling.
Pending
A stage suspended (Poll::Pending). The step model is for stages that
complete synchronously (polling drivers, the g2g-mcu mock/C seams); a
genuinely suspending pipeline belongs on a real executor (Embassy), not
a per-step caller. Reported, never silently looped.