pub struct PowerPlayWebAPI {
pub ip: IpAddr,
/* private fields */
}Expand description
ePIC PowerPlay WebAPI client
Fields§
§ip: IpAddrImplementations§
Trait Implementations§
Source§impl APIClient for PowerPlayWebAPI
impl APIClient for PowerPlayWebAPI
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 Debug for PowerPlayWebAPI
impl Debug for PowerPlayWebAPI
Source§impl WebAPIClient for PowerPlayWebAPI
impl WebAPIClient for PowerPlayWebAPI
Source§fn send_command<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 str,
_privileged: bool,
parameters: Option<Value>,
method: Method,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_command<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 str,
_privileged: bool,
parameters: Option<Value>,
method: Method,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Send a command to the EPic miner API
Auto Trait Implementations§
impl Freeze for PowerPlayWebAPI
impl !RefUnwindSafe for PowerPlayWebAPI
impl Send for PowerPlayWebAPI
impl Sync for PowerPlayWebAPI
impl Unpin for PowerPlayWebAPI
impl !UnwindSafe for PowerPlayWebAPI
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