GetDataLocations

Trait GetDataLocations 

Source
pub trait GetDataLocations:
    Send
    + Sync
    + Debug {
    // Required method
    fn get_locations(&self, data_field: DataField) -> Vec<DataLocation> ;
}

Required Methods§

Source

fn get_locations(&self, data_field: DataField) -> Vec<DataLocation>

Returns the locations of the specified data field on the miner.

This associates API commands (routes) with DataExtractor structs, describing how to extract the data for a given DataField.

Implementors§