fidl_fuchsia_power_system

Trait CpuElementManagerProxyInterface

Source
pub trait CpuElementManagerProxyInterface: Send + Sync {
    type GetCpuDependencyTokenResponseFut: Future<Output = Result<Cpu, Error>> + Send;
    type AddExecutionStateDependencyResponseFut: Future<Output = Result<CpuElementManagerAddExecutionStateDependencyResult, Error>> + Send;

    // Required methods
    fn get_cpu_dependency_token(&self) -> Self::GetCpuDependencyTokenResponseFut;
    fn add_execution_state_dependency(
        &self,
        payload: CpuElementManagerAddExecutionStateDependencyRequest,
    ) -> Self::AddExecutionStateDependencyResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§