Skip to main content

DomainControllerProxyInterface

Trait DomainControllerProxyInterface 

Source
pub trait DomainControllerProxyInterface: Send + Sync {
    type ListDomainsResponseFut: Future<Output = Result<Vec<DomainInfo>, Error>> + Send;
    type GetMaxFrequencyResponseFut: Future<Output = Result<DomainControllerGetMaxFrequencyResult, Error>> + Send;
    type SetMaxFrequencyResponseFut: Future<Output = Result<DomainControllerSetMaxFrequencyResult, Error>> + Send;
    type ClearMaxFrequencyResponseFut: Future<Output = Result<DomainControllerClearMaxFrequencyResult, Error>> + Send;

    // Required methods
    fn list_domains(&self) -> Self::ListDomainsResponseFut;
    fn get_max_frequency(
        &self,
        domain_id: u64,
    ) -> Self::GetMaxFrequencyResponseFut;
    fn set_max_frequency(
        &self,
        domain_id: u64,
        frequency_index: u64,
    ) -> Self::SetMaxFrequencyResponseFut;
    fn clear_max_frequency(
        &self,
        domain_id: u64,
    ) -> Self::ClearMaxFrequencyResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn list_domains(&self) -> Self::ListDomainsResponseFut

Source

fn get_max_frequency(&self, domain_id: u64) -> Self::GetMaxFrequencyResponseFut

Source

fn set_max_frequency( &self, domain_id: u64, frequency_index: u64, ) -> Self::SetMaxFrequencyResponseFut

Source

fn clear_max_frequency( &self, domain_id: u64, ) -> Self::ClearMaxFrequencyResponseFut

Implementors§