pub type LookAnswer = Look;Expand description
What a fresh look answers: the look, as the supervision core took it.
Its image_path is absolute on this server’s own filesystem, exactly as
ContextAnswer’s is.
Aliased Type§
pub struct LookAnswer {
pub event: EventRecord,
pub arrived: Vec<EventRecord>,
pub frame: Option<ImageRef>,
pub image_path: Option<PathBuf>,
pub printer: Option<PrinterSnapshot>,
pub job: Option<JobSnapshot>,
pub detector_paused: bool,
}Fields§
§event: EventRecordThe look itself, as it was written into the print’s history, carrying the frame as its image when there is one.
arrived: Vec<EventRecord>The events for this print that arrived while the look waited, oldest first; the look returned early when there were any.
frame: Option<ImageRef>The frame the camera gave, absent when no camera is configured or it gave none — which the history records as a port failure.
image_path: Option<PathBuf>The absolute path the frame’s bytes are at, on the supervisor’s host.
printer: Option<PrinterSnapshot>The printer’s state now, absent when it could not be read.
job: Option<JobSnapshot>The job the printer reports now, absent when it could not be read.
detector_paused: boolWhether the print is paused and the pause is the detector’s, which is what an adjustment asked for now would be applied under.