Skip to main content

StreamingModel

Trait StreamingModel 

Source
pub trait StreamingModel {
    // Required method
    fn open(&self) -> Result<Box<dyn StreamingTranscriber + '_>>;
}
Expand description

A loaded streaming speech model. Each open is an independent utterance state over the shared weights.

Required Methods§

Source

fn open(&self) -> Result<Box<dyn StreamingTranscriber + '_>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§