pub trait AsrEngine: Send + Sync {
// Required methods
fn info(&self) -> EngineInfo;
fn transcribe(
&self,
audio: &AudioBuffer,
opts: &AsrOptions,
) -> Result<Transcript>;
}Expand description
Speech → text (Mercury).
Required Methods§
fn info(&self) -> EngineInfo
fn transcribe( &self, audio: &AudioBuffer, opts: &AsrOptions, ) -> Result<Transcript>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".