pub trait InspectPuppetProxyInterface: Send + Sync {
    type InitializeResponseFut: Future<Output = Result<(Option<Handle>, TestResult), Error>> + Send;
    type GetConfigResponseFut: Future<Output = Result<(String, Options), Error>> + Send;
    type InitializeTreeResponseFut: Future<Output = Result<(Option<ClientEnd<TreeMarker>>, TestResult), Error>> + Send;
    type PublishResponseFut: Future<Output = Result<TestResult, Error>> + Send;
    type ActResponseFut: Future<Output = Result<TestResult, Error>> + Send;
    type ActLazyResponseFut: Future<Output = Result<TestResult, Error>> + Send;

    // Required methods
    fn initialize(
        &self,
        params: &InitializationParams
    ) -> Self::InitializeResponseFut;
    fn get_config(&self) -> Self::GetConfigResponseFut;
    fn initialize_tree(
        &self,
        params: &InitializationParams
    ) -> Self::InitializeTreeResponseFut;
    fn publish(&self) -> Self::PublishResponseFut;
    fn act(&self, action: &Action) -> Self::ActResponseFut;
    fn act_lazy(&self, lazy_action: &LazyAction) -> Self::ActLazyResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§

source§

impl InspectPuppetProxyInterface for InspectPuppetProxy

§

type InitializeResponseFut = QueryResponseFut<(Option<Handle>, TestResult)>

§

type GetConfigResponseFut = QueryResponseFut<(String, Options)>

§

type InitializeTreeResponseFut = QueryResponseFut<(Option<ClientEnd<TreeMarker>>, TestResult)>

§

type PublishResponseFut = QueryResponseFut<TestResult>

§

type ActResponseFut = QueryResponseFut<TestResult>

§

type ActLazyResponseFut = QueryResponseFut<TestResult>