pub trait DeviceProxyInterface: Send + Sync {
type SetSuspendStatesResponseFut: Future<Output = Result<DeviceSetSuspendStatesResult, Error>> + Send;
type AwaitSuspendResponseFut: Future<Output = Result<DeviceAwaitSuspendResult, Error>> + Send;
type ResumeResponseFut: Future<Output = Result<DeviceResumeResult, Error>> + Send;
// Required methods
fn set_suspend_states(
&self,
payload: &DeviceSetSuspendStatesRequest,
) -> Self::SetSuspendStatesResponseFut;
fn await_suspend(&self) -> Self::AwaitSuspendResponseFut;
fn resume(&self, payload: &DeviceResumeRequest) -> Self::ResumeResponseFut;
}