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§
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§
impl CsvExportDataLoader for CodeGiveawayCodesExportOperation
impl CsvExportDataLoader for CompletionsExportOperation
impl CsvExportDataLoader for CourseInstancesExportOperation
impl CsvExportDataLoader for CourseResearchFormExportOperation
impl CsvExportDataLoader for CourseExerciseTasksExportOperation
impl CsvExportDataLoader for ExamPointExportOperation
Writes the exam points as csv into the writer