Trait AsyncDataExportService

Source
pub trait AsyncDataExportService<O> {
    type ExportChannelDataBody: AsyncWriteBody<O> + 'static + Send;

    // Required method
    fn export_channel_data(
        &self,
        auth_: BearerToken,
        request: ExportDataRequest,
    ) -> impl Future<Output = Result<Self::ExportChannelDataBody, Error>> + Send;
}
Expand description

Provides functionality for exporting data from Scout.

Required Associated Types§

Source

type ExportChannelDataBody: AsyncWriteBody<O> + 'static + Send

The body type returned by the export_channel_data method.

Required Methods§

Source

fn export_channel_data( &self, auth_: BearerToken, request: ExportDataRequest, ) -> impl Future<Output = Result<Self::ExportChannelDataBody, Error>> + Send

Required permissions matches those required to compute the channels via the compute API.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§