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