Trait DeviceProxyInterface
Source pub trait DeviceProxyInterface: Send + Sync {
type GetOperatingPointInfoResponseFut: Future<Output = Result<DeviceGetOperatingPointInfoResult, Error>> + Send;
type GetCurrentOperatingPointResponseFut: Future<Output = Result<u32, Error>> + Send;
type SetCurrentOperatingPointResponseFut: Future<Output = Result<DeviceSetCurrentOperatingPointResult, Error>> + Send;
type SetMinimumOperatingPointLimitResponseFut: Future<Output = Result<DeviceSetMinimumOperatingPointLimitResult, Error>> + Send;
type SetMaximumOperatingPointLimitResponseFut: Future<Output = Result<DeviceSetMaximumOperatingPointLimitResult, Error>> + Send;
type SetOperatingPointLimitsResponseFut: Future<Output = Result<DeviceSetOperatingPointLimitsResult, Error>> + Send;
type GetCurrentOperatingPointLimitsResponseFut: Future<Output = Result<DeviceGetCurrentOperatingPointLimitsResult, Error>> + Send;
type GetOperatingPointCountResponseFut: Future<Output = Result<DeviceGetOperatingPointCountResult, Error>> + Send;
type GetNumLogicalCoresResponseFut: Future<Output = Result<u64, Error>> + Send;
type GetLogicalCoreIdResponseFut: Future<Output = Result<u64, Error>> + Send;
type GetDomainIdResponseFut: Future<Output = Result<u32, Error>> + Send;
type GetRelativePerformanceResponseFut: Future<Output = Result<DeviceGetRelativePerformanceResult, Error>> + Send;
// Required methods
fn get_operating_point_info(
&self,
opp: u32,
) -> Self::GetOperatingPointInfoResponseFut;
fn get_current_operating_point(
&self,
) -> Self::GetCurrentOperatingPointResponseFut;
fn set_current_operating_point(
&self,
requested_opp: u32,
) -> Self::SetCurrentOperatingPointResponseFut;
fn set_minimum_operating_point_limit(
&self,
minimum_opp: u32,
) -> Self::SetMinimumOperatingPointLimitResponseFut;
fn set_maximum_operating_point_limit(
&self,
maximum_opp: u32,
) -> Self::SetMaximumOperatingPointLimitResponseFut;
fn set_operating_point_limits(
&self,
minimum_opp: u32,
maximum_opp: u32,
) -> Self::SetOperatingPointLimitsResponseFut;
fn get_current_operating_point_limits(
&self,
) -> Self::GetCurrentOperatingPointLimitsResponseFut;
fn get_operating_point_count(
&self,
) -> Self::GetOperatingPointCountResponseFut;
fn get_num_logical_cores(&self) -> Self::GetNumLogicalCoresResponseFut;
fn get_logical_core_id(
&self,
index: u64,
) -> Self::GetLogicalCoreIdResponseFut;
fn get_domain_id(&self) -> Self::GetDomainIdResponseFut;
fn get_relative_performance(
&self,
) -> Self::GetRelativePerformanceResponseFut;
}