OptrisOptrisDocumentation

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

BusyReport

pub struct BusyReport

What the SDK knew about a busy refusal, beyond its message.

BusyReport — fields

reason: BusyReason

Which of the four conditions it was. Read this first.

holder: String

The program holding the claim, as the device list names it. Empty when it cannot be named, which is a real case and not a failure, and empty for every reason other than BusyReason::ClaimedByAnotherProcess. Never a guess, and never this process's own name. Show it; do not parse it.

claim_path: String

The claim file the refusal is about, or empty when the refusal was not about a claim. Worth putting in a support report: a claim nobody can account for is a stale lock file, and this says which one.