pub trait BatchExporter: Send + Sync {
// Required method
fn export<'a>(&'a self, batch: &'a [AggregatedUsage]) -> ExportFuture<'a>;
}Expand description
Exports a prepared batch away from the request path.
Required Methods§
Sourcefn export<'a>(&'a self, batch: &'a [AggregatedUsage]) -> ExportFuture<'a>
fn export<'a>(&'a self, batch: &'a [AggregatedUsage]) -> ExportFuture<'a>
Export every aggregate in batch.
Retrying the same batch must be safe because identifiers are stable.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".