pub struct Bitaxe200 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl APIClient for Bitaxe200
impl APIClient for Bitaxe200
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 Bitaxe200
impl CollectData for Bitaxe200
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 GetApiVersion for Bitaxe200
impl GetApiVersion for Bitaxe200
Source§impl GetControlBoardVersion for Bitaxe200
impl GetControlBoardVersion for Bitaxe200
fn parse_control_board_version( &self, data: &HashMap<DataField, Value>, ) -> Option<MinerControlBoard>
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,
Source§impl GetDataLocations for Bitaxe200
impl GetDataLocations for Bitaxe200
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 Bitaxe200
impl GetDeviceInfo for Bitaxe200
Source§fn get_device_info(&self) -> DeviceInfo
fn get_device_info(&self) -> DeviceInfo
Returns information about the miner.
Source§impl GetExpectedHashrate for Bitaxe200
impl GetExpectedHashrate for Bitaxe200
Source§impl GetFirmwareVersion for Bitaxe200
impl GetFirmwareVersion for Bitaxe200
Source§impl GetFluidTemperature for Bitaxe200
impl GetFluidTemperature for Bitaxe200
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 Bitaxe200
impl GetHashboards for Bitaxe200
Source§impl GetHashrate for Bitaxe200
impl GetHashrate for Bitaxe200
Source§impl GetHostname for Bitaxe200
impl GetHostname for Bitaxe200
Source§impl GetIsMining for Bitaxe200
impl GetIsMining for Bitaxe200
Source§impl GetLightFlashing for Bitaxe200
impl GetLightFlashing for Bitaxe200
Source§impl GetMessages for Bitaxe200
impl GetMessages for Bitaxe200
fn parse_messages(&self, data: &HashMap<DataField, Value>) -> Vec<MinerMessage>
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,
Source§impl GetPsuFans for Bitaxe200
impl GetPsuFans for Bitaxe200
Source§impl GetSerialNumber for Bitaxe200
impl GetSerialNumber for Bitaxe200
Source§impl GetWattage for Bitaxe200
impl GetWattage for Bitaxe200
Source§impl GetWattageLimit for Bitaxe200
impl GetWattageLimit for Bitaxe200
Source§impl SetFaultLight for Bitaxe200
impl SetFaultLight for Bitaxe200
Auto Trait Implementations§
impl Freeze for Bitaxe200
impl !RefUnwindSafe for Bitaxe200
impl Send for Bitaxe200
impl Sync for Bitaxe200
impl Unpin for Bitaxe200
impl !UnwindSafe for Bitaxe200
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.