fn record(
device: &Device,
id: Option<&DeviceId>,
default: Option<&DeviceId>,
) -> DeviceExpand description
One device as the host describes it: the id a host persists, the label a picker shows, and whether the system would pick it unaided.