Skip to main content

AudioRecorderPlugin

Trait AudioRecorderPlugin 

Source
pub trait AudioRecorderPlugin:
    Plugin
    + Send
    + Sync {
    // Required method
    fn start<'life0, 'async_trait>(
        &'life0 self,
        call_active_rx: Receiver<bool>,
        input_voice_audio_rx: Receiver<InputVoiceAudio>,
    ) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn start<'life0, 'async_trait>( &'life0 self, call_active_rx: Receiver<bool>, input_voice_audio_rx: Receiver<InputVoiceAudio>, ) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§