pub trait SpeechToText: Send + Sync {
// Required method
fn transcribe<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
audio_bytes: &'life1 [u8],
lang: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Adapter that transcribes audio into text.