pub async fn read_carrier_detect<R: Runtime>( _app: AppHandle<R>, state: State<'_, SerialportState>, path: String, ) -> Result<bool, Error>
Read the CD (Carrier Detect) control signal state