pub struct AvalonQMiner { /* private fields */ }Implementations§
Trait Implementations§
Source§impl APIClient for AvalonQMiner
impl APIClient for AvalonQMiner
fn get_api_result<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 MinerCommand,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl CollectData for AvalonQMiner
impl CollectData for AvalonQMiner
Source§fn get_collector(&self) -> DataCollector<'_>
fn get_collector(&self) -> DataCollector<'_>
Returns a
DataCollector that can be used to collect data from the miner. Read moreSource§impl Debug for AvalonQMiner
impl Debug for AvalonQMiner
Source§impl GetApiVersion for AvalonQMiner
impl GetApiVersion for AvalonQMiner
Source§impl GetControlBoardVersion for AvalonQMiner
impl GetControlBoardVersion for AvalonQMiner
fn get_control_board_version<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<MinerControlBoard>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn parse_control_board_version( &self, data: &HashMap<DataField, Value>, ) -> Option<MinerControlBoard>
Source§impl GetDataLocations for AvalonQMiner
impl GetDataLocations for AvalonQMiner
Source§fn get_locations(&self, data_field: DataField) -> Vec<DataLocation> ⓘ
fn get_locations(&self, data_field: DataField) -> Vec<DataLocation> ⓘ
Returns the locations of the specified data field on the miner. Read more
Source§impl GetDeviceInfo for AvalonQMiner
impl GetDeviceInfo for AvalonQMiner
Source§fn get_device_info(&self) -> DeviceInfo
fn get_device_info(&self) -> DeviceInfo
Returns information about the miner.
Source§impl GetExpectedHashrate for AvalonQMiner
impl GetExpectedHashrate for AvalonQMiner
Source§impl GetFans for AvalonQMiner
impl GetFans for AvalonQMiner
Source§impl GetFirmwareVersion for AvalonQMiner
impl GetFirmwareVersion for AvalonQMiner
Source§impl GetFluidTemperature for AvalonQMiner
impl GetFluidTemperature for AvalonQMiner
fn get_fluid_temperature<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<Temperature>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn parse_fluid_temperature( &self, data: &HashMap<DataField, Value>, ) -> Option<Temperature>
Source§impl GetHashboards for AvalonQMiner
impl GetHashboards for AvalonQMiner
Source§impl GetHashrate for AvalonQMiner
impl GetHashrate for AvalonQMiner
Source§impl GetHostname for AvalonQMiner
impl GetHostname for AvalonQMiner
Source§impl GetIP for AvalonQMiner
impl GetIP for AvalonQMiner
Source§impl GetIsMining for AvalonQMiner
impl GetIsMining for AvalonQMiner
Source§impl GetLightFlashing for AvalonQMiner
impl GetLightFlashing for AvalonQMiner
Source§impl GetMAC for AvalonQMiner
impl GetMAC for AvalonQMiner
Source§impl GetMessages for AvalonQMiner
impl GetMessages for AvalonQMiner
fn get_messages<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<MinerMessage>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn parse_messages(&self, data: &HashMap<DataField, Value>) -> Vec<MinerMessage>
Source§impl GetPools for AvalonQMiner
impl GetPools for AvalonQMiner
Source§impl GetPsuFans for AvalonQMiner
impl GetPsuFans for AvalonQMiner
Source§impl GetSerialNumber for AvalonQMiner
impl GetSerialNumber for AvalonQMiner
Source§impl GetUptime for AvalonQMiner
impl GetUptime for AvalonQMiner
Source§impl GetWattage for AvalonQMiner
impl GetWattage for AvalonQMiner
Source§impl GetWattageLimit for AvalonQMiner
impl GetWattageLimit for AvalonQMiner
Source§impl Pause for AvalonQMiner
impl Pause for AvalonQMiner
Source§impl Restart for AvalonQMiner
impl Restart for AvalonQMiner
Source§impl Resume for AvalonQMiner
impl Resume for AvalonQMiner
Source§impl SetFaultLight for AvalonQMiner
impl SetFaultLight for AvalonQMiner
Source§impl SetPowerLimit for AvalonQMiner
impl SetPowerLimit for AvalonQMiner
Auto Trait Implementations§
impl Freeze for AvalonQMiner
impl RefUnwindSafe for AvalonQMiner
impl Send for AvalonQMiner
impl Sync for AvalonQMiner
impl Unpin for AvalonQMiner
impl UnwindSafe for AvalonQMiner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> GetExpectedChips for Twhere
T: GetDeviceInfo,
impl<T> GetExpectedChips for Twhere
T: GetDeviceInfo,
fn get_expected_chips(&self) -> Option<u16>
Source§impl<T> GetExpectedFans for Twhere
T: GetDeviceInfo,
impl<T> GetExpectedFans for Twhere
T: GetDeviceInfo,
fn get_expected_fans(&self) -> Option<u8>
Source§impl<T> GetExpectedHashboards for Twhere
T: GetDeviceInfo,
impl<T> GetExpectedHashboards for Twhere
T: GetDeviceInfo,
fn get_expected_hashboards(&self) -> Option<u8>
Source§impl<T> GetMinerData for Twhere
T: GetIP + GetDeviceInfo + GetExpectedHashboards + GetExpectedChips + GetExpectedFans + GetMAC + GetSerialNumber + GetHostname + GetApiVersion + GetFirmwareVersion + GetControlBoardVersion + GetHashboards + GetHashrate + GetExpectedHashrate + GetFans + GetPsuFans + GetFluidTemperature + GetWattage + GetWattageLimit + GetLightFlashing + GetMessages + GetUptime + GetIsMining + GetPools + MinerInterface,
impl<T> GetMinerData for Twhere
T: GetIP + GetDeviceInfo + GetExpectedHashboards + GetExpectedChips + GetExpectedFans + GetMAC + GetSerialNumber + GetHostname + GetApiVersion + GetFirmwareVersion + GetControlBoardVersion + GetHashboards + GetHashrate + GetExpectedHashrate + GetFans + GetPsuFans + GetFluidTemperature + GetWattage + GetWattageLimit + GetLightFlashing + GetMessages + GetUptime + GetIsMining + GetPools + MinerInterface,
Source§fn get_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MinerData> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn get_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MinerData> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Asynchronously retrieves standardized information about a miner,
returning it as a
MinerData struct.