pub trait CollectData: GetDataLocations {
// Required method
fn get_collector(&self) -> DataCollector<'_>;
}Required Methods§
Sourcefn get_collector(&self) -> DataCollector<'_>
fn get_collector(&self) -> DataCollector<'_>
Returns a DataCollector that can be used to collect data from the miner.
This method is responsible for creating and returning a DataCollector
instance that can be used to collect data from the miner.