pub trait DataCollector {
// Required method
fn run(
&mut self,
stats_queue: Arc<SegQueue<EventRecord>>,
ctrl: Arc<ArrayQueue<TestPhase>>,
dump_raw_data: bool,
) -> Result<(), Error>;
}
pub trait DataCollector {
// Required method
fn run(
&mut self,
stats_queue: Arc<SegQueue<EventRecord>>,
ctrl: Arc<ArrayQueue<TestPhase>>,
dump_raw_data: bool,
) -> Result<(), Error>;
}