tauri_plugin_serialplugin::commands

Function bytes_to_read

Source
pub async fn bytes_to_read<R: Runtime>(
    _app: AppHandle<R>,
    state: State<'_, SerialportState>,
    path: String,
) -> Result<u32, Error>
Expand description

Get the number of bytes available to read