OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

ActionDropCounts

pub struct ActionDropCounts

How many actions, and how many action reports, a camera has lost.

The reports crate::Camera::on_action_error and crate::Camera::on_action_completed deliver are best effort: a chattering alarm in front of a slow handler can outrun the bounded backlog of undelivered reports, and past it a report is lost. These totals are exact, so an application can say how many never arrived. Read with crate::Camera::action_drop_counts.

ActionDropCounts — fields

actions_dropped: u64

Actions discarded from a full action queue. Each is also reported as ActionOutcome::DroppedQueueFull, unless that report is itself among the lost ones.

reports_dropped: u64

Error and outcome reports lost because too many were already waiting for the application to take them.