Skip to main content

TaskClassifier

Trait TaskClassifier 

Source
pub trait TaskClassifier: Send + Sync {
    // Required method
    fn classify<'life0, 'life1, 'async_trait>(
        &'life0 self,
        raw: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = ClassifiedTask> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn classify<'life0, 'life1, 'async_trait>( &'life0 self, raw: &'life1 str, ) -> Pin<Box<dyn Future<Output = ClassifiedTask> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§