# Trait SurveyClientTrait

Source

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

## Required Methods§

Source

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

Source

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

Source

#### fn is_online<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

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

## Implementors§

Source§

### impl SurveyClientTrait for Survey