Skip to main content

MiningApi

Trait MiningApi 

Source
pub trait MiningApi: Send + Sync {
Show 13 methods // Required methods fn account_list<'life0, 'async_trait>( &'life0 self, params: AccountListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AccountListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn acquiring_algorithm<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AcquiringAlgorithmResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn acquiring_coinname<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AcquiringCoinnameResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn cancel_hashrate_resale_configuration<'life0, 'async_trait>( &'life0 self, params: CancelHashrateResaleConfigurationParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<CancelHashrateResaleConfigurationResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn earnings_list<'life0, 'async_trait>( &'life0 self, params: EarningsListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<EarningsListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn extra_bonus_list<'life0, 'async_trait>( &'life0 self, params: ExtraBonusListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<ExtraBonusListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn hashrate_resale_detail<'life0, 'async_trait>( &'life0 self, params: HashrateResaleDetailParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleDetailResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn hashrate_resale_list<'life0, 'async_trait>( &'life0 self, params: HashrateResaleListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn hashrate_resale_request<'life0, 'async_trait>( &'life0 self, params: HashrateResaleRequestParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleRequestResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn mining_account_earning<'life0, 'async_trait>( &'life0 self, params: MiningAccountEarningParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<MiningAccountEarningResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn request_for_detail_miner_list<'life0, 'async_trait>( &'life0 self, params: RequestForDetailMinerListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RequestForDetailMinerListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn request_for_miner_list<'life0, 'async_trait>( &'life0 self, params: RequestForMinerListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RequestForMinerListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn statistic_list<'life0, 'async_trait>( &'life0 self, params: StatisticListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<StatisticListResponse>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}

Required Methods§

Source

fn account_list<'life0, 'async_trait>( &'life0 self, params: AccountListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AccountListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn acquiring_algorithm<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AcquiringAlgorithmResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn acquiring_coinname<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AcquiringCoinnameResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn cancel_hashrate_resale_configuration<'life0, 'async_trait>( &'life0 self, params: CancelHashrateResaleConfigurationParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<CancelHashrateResaleConfigurationResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn earnings_list<'life0, 'async_trait>( &'life0 self, params: EarningsListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<EarningsListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn extra_bonus_list<'life0, 'async_trait>( &'life0 self, params: ExtraBonusListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<ExtraBonusListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn hashrate_resale_detail<'life0, 'async_trait>( &'life0 self, params: HashrateResaleDetailParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleDetailResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn hashrate_resale_list<'life0, 'async_trait>( &'life0 self, params: HashrateResaleListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn hashrate_resale_request<'life0, 'async_trait>( &'life0 self, params: HashrateResaleRequestParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleRequestResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn mining_account_earning<'life0, 'async_trait>( &'life0 self, params: MiningAccountEarningParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<MiningAccountEarningResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn request_for_detail_miner_list<'life0, 'async_trait>( &'life0 self, params: RequestForDetailMinerListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RequestForDetailMinerListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn request_for_miner_list<'life0, 'async_trait>( &'life0 self, params: RequestForMinerListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RequestForMinerListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn statistic_list<'life0, 'async_trait>( &'life0 self, params: StatisticListParams, ) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<StatisticListResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§