pub trait DeviceProxyInterface: Send + Sync {
    type GetPerformanceStateInfoResponseFut: Future<Output = Result<DeviceGetPerformanceStateInfoResult, Error>> + Send;
    type GetNumLogicalCoresResponseFut: Future<Output = Result<u64, Error>> + Send;
    type GetLogicalCoreIdResponseFut: Future<Output = Result<u64, Error>> + Send;

    // Required methods
    fn get_performance_state_info(
        &self,
        state: u32
    ) -> Self::GetPerformanceStateInfoResponseFut;
    fn get_num_logical_cores(&self) -> Self::GetNumLogicalCoresResponseFut;
    fn get_logical_core_id(
        &self,
        index: u64
    ) -> Self::GetLogicalCoreIdResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§