Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Normalized observations of a printer and of the job it is running.

These are what PrinterPort::snapshot and PrinterPort::job answer, declared beside the port whose methods carry them. Every numeric field a printer can report implausibly is typed Reported<f64> and read against the plausibility range ranges declares for it: a flag that disagrees with the value under that range is refused on parse, so a snapshot never carries a reading whose flag was written by something other than its range.

Structsยง

HeaterSnapshot
One heater, as a source reported it.
JobSnapshot
The job a printer reports it is running.
PrinterSnapshot
A printer, as a source reported it at one instant.