pub trait TextTranslator {
    fn translate<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 mut self,
        source_text: &'life1 str,
        source_lang: &'life2 str,
        dest_lang: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait
; }

Required Methods§

Implementors§