Skip to main content

Module controller

Module controller 

Source
Expand description

Step through a fit cycle by cycle, rather than running it all at once.

fit_with runs to the end and gives back only the final result. For debugging or third-party monitoring, you can instead drive the fit yourself and inspect the state between cycles.

Both drive the same underlying runner and finish at the same result.

Structs§

FitController
A running fit that you advance one cycle at a time.

Enums§

CycleFlow
An observer’s verdict after a cycle: keep going, or stop.

Traits§

FitObserver
A callback run after every cycle of a fit.