trait SurveyClientTrait {
    // Required methods
    fn start_job<'life0, 'async_trait>(
        &'life0 self,
        data: AppData
    ) -> Pin<Box<dyn Future<Output = Result<JoinHandle<()>, ServiceError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn register<'life0, 'life1, 'async_trait>(
        &'life0 self,
        data: &'life1 AppData
    ) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn start_job<'life0, 'async_trait>( &'life0 self, data: AppData ) -> Pin<Box<dyn Future<Output = Result<JoinHandle<()>, ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn register<'life0, 'life1, 'async_trait>( &'life0 self, data: &'life1 AppData ) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§