Expand description
Starting a print (the write side, separate from simple control because it
carries file/plate/AMS parameters and needs a fresh MQTT connection). Behind
a seam so the API is testable: tests/--fake use FakeStarter; live mode
uses LiveStarter (project_file/gcode_file + verify).
Safety lives in the HTTP handler (confirm gate, idle check, AMS-map range); this just builds the command and verifies it.
Structs§
- Fake
Starter - A canned starter for
--fakemode and tests. - Live
Starter - Drives a real printer over LAN MQTT.
- Start
Request - A resolved print-start request.
Traits§
- Starter
- Starts prints. Blocking — call from
spawn_blocking.