pub fn apply_settings(
unique_id: &str,
autos: &[(AutoToggle, bool)],
values: &[(CameraControl, i32)],
) -> Result<(), ControlError>Expand description
Apply auto toggles and control values in one device open.
Autos are written first: a manual value is rejected while its auto mode
still owns the control, so dragging an auto-gated slider must clear the
mode before the value lands. Controls are then batched per class, since
VIDIOC_S_EXT_CTRLS refuses a mixed-class call.
Unsupported controls are skipped rather than failing the batch — a profile saved against a Brio shouldn’t fail wholesale when applied to a C270.
§Errors
ControlError::NotFound when no node matches unique_id; the first I/O
error otherwise.