# SurveyClientTrait in mcaptcha::survey - Rust
API documentation for the Rust `SurveyClientTrait` trait in crate `mcaptcha`.

# Trait mcaptcha::survey::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