pub enum DeviceRequest {
GetPerformanceStateInfo {
state: u32,
responder: DeviceGetPerformanceStateInfoResponder,
},
GetNumLogicalCores {
responder: DeviceGetNumLogicalCoresResponder,
},
GetLogicalCoreId {
index: u64,
responder: DeviceGetLogicalCoreIdResponder,
},
}
Variants§
GetPerformanceStateInfo
Returns information about a given performance state for this performance domain.
GetNumLogicalCores
Fields
§
responder: DeviceGetNumLogicalCoresResponder
Returns the number of logical cores contained within this performance domain.
GetLogicalCoreId
Returns a global system-wide core ID for the nth core in this
performance domain. index
must be a value in the range [0, n) where
n is the value returned by GetNumLogicalCores().
Implementations§
source§impl DeviceRequest
impl DeviceRequest
pub fn into_get_performance_state_info( self ) -> Option<(u32, DeviceGetPerformanceStateInfoResponder)>
pub fn into_get_num_logical_cores( self ) -> Option<DeviceGetNumLogicalCoresResponder>
pub fn into_get_logical_core_id( self ) -> Option<(u64, DeviceGetLogicalCoreIdResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL