pub trait ProvisionerProxyInterface: Send + Sync {
    type GetProvidersResponseFut: Future<Output = Result<Vec<ProviderInfo>, Error>> + Send;
    type GetKnownCategoriesResponseFut: Future<Output = Result<Vec<KnownCategory>, Error>> + Send;

    // Required methods
    fn initialize_tracing(
        &self,
        controller: ServerEnd<SessionMarker>,
        config: &TraceConfig,
        output: Socket,
    ) -> Result<(), Error>;
    fn get_providers(&self) -> Self::GetProvidersResponseFut;
    fn get_known_categories(&self) -> Self::GetKnownCategoriesResponseFut;
}

Required Associated Types§

source

type GetProvidersResponseFut: Future<Output = Result<Vec<ProviderInfo>, Error>> + Send

source

type GetKnownCategoriesResponseFut: Future<Output = Result<Vec<KnownCategory>, Error>> + Send

Required Methods§

source

fn initialize_tracing( &self, controller: ServerEnd<SessionMarker>, config: &TraceConfig, output: Socket, ) -> Result<(), Error>

source

fn get_providers(&self) -> Self::GetProvidersResponseFut

source

fn get_known_categories(&self) -> Self::GetKnownCategoriesResponseFut

Implementors§