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§
Sourcetype ExportChannelDataBody: AsyncWriteBody<O> + 'static + Send
type ExportChannelDataBody: AsyncWriteBody<O> + 'static + Send
The body type returned by the export_channel_data
method.
Required Methods§
Sourcefn export_channel_data(
&self,
auth_: BearerToken,
request: ExportDataRequest,
) -> impl Future<Output = Result<Self::ExportChannelDataBody, Error>> + Send
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.