OptrisOptrisDocumentation

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

ConnectionStatusChange

pub struct ConnectionStatusChange

A connection status transition.

Carries the previous value beside the current one, so a handler can act on the transition rather than having to remember. That is the difference between this and polling Camera::connection_status.

ConnectionStatusChange — fields

previous: ConnectionStatus

Where it was.

current: ConnectionStatus

Where it is now.

message: String

What the SDK had to say, or empty.