pub trait ApiClientExt:
Debug
+ Send
+ Sync {
// Required methods
fn set_device_info<'life0, 'async_trait>(
&'life0 self,
device_info_params: Value,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn device_reboot<'life0, 'async_trait>(
&'life0 self,
delay_s: u16,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn device_reset<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Implemented by all ApiClient implementations.
Required Methods§
Sourcefn set_device_info<'life0, 'async_trait>(
&'life0 self,
device_info_params: Value,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_device_info<'life0, 'async_trait>(
&'life0 self,
device_info_params: Value,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets device info by sending the given parameters.