PipelineChange
pub struct PipelineChange
A camera's pipeline changed while it was open, delivered to
Camera::on_pipeline_change.
The camera keeps streaming and keeps its processing and picture settings; what changes is which pipeline computes its frames.
PipelineChange — fields
previous: PipelineKind
The pipeline the camera was on.
current: PipelineKind
The pipeline it is on now. Never equal to previous.
reason: PipelineReason
Why it is on current, as Camera::pipeline_info reads after
the change. PipelineReason::GpuInitFailed for a GPU pipeline
that failed or timed out, which is the one to treat as a fault.
reason_text: String
The reason in words: which GPU error, which time bound.