DataExporter

Trait DataExporter 

Source
pub trait DataExporter:
    Debug
    + Send
    + Sync {
    // Required methods
    fn export(
        &self,
        data: &[MetricMeasurement],
        destination: &ExportDestination,
    ) -> QuantRS2Result<()>;
    fn format(&self) -> ExportFormat;
    fn validate_config(
        &self,
        destination: &ExportDestination,
    ) -> QuantRS2Result<()>;
}
Expand description

Data exporter trait

Required Methods§

Source

fn export( &self, data: &[MetricMeasurement], destination: &ExportDestination, ) -> QuantRS2Result<()>

Export data in specific format

Source

fn format(&self) -> ExportFormat

Get supported format

Source

fn validate_config(&self, destination: &ExportDestination) -> QuantRS2Result<()>

Validate export configuration

Implementors§