pub trait CsvExportDataLoader {
    // Required method
    fn load_data<'life0, 'life1, 'async_trait>(
        &'life0 self,
        sender: UnboundedSender<Result<AuthorizedResponse<Bytes>, ControllerError>>,
        conn: &'life1 mut PgConnection,
        token: AuthorizationToken,
    ) -> Pin<Box<dyn Future<Output = Result<CSVExportAdapter>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn load_data<'life0, 'life1, 'async_trait>( &'life0 self, sender: UnboundedSender<Result<AuthorizedResponse<Bytes>, ControllerError>>, conn: &'life1 mut PgConnection, token: AuthorizationToken, ) -> Pin<Box<dyn Future<Output = Result<CSVExportAdapter>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§