pub trait ValidateProxyInterface: Send + Sync {
    type InitializeResponseFut: Future<Output = Result<(Option<Handle>, TestResult), Error>> + Send;
    type InitializeTreeResponseFut: Future<Output = Result<(Option<ClientEnd<TreeMarker>>, TestResult), Error>> + Send;
    type PublishResponseFut: Future<Output = Result<TestResult, Error>> + Send;
    type UnpublishResponseFut: 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 initialize_tree(
        &self,
        params: InitializationParams
    ) -> Self::InitializeTreeResponseFut;
    fn publish(&self) -> Self::PublishResponseFut;
    fn unpublish(&self) -> Self::UnpublishResponseFut;
    fn act(&self, action: &mut Action) -> Self::ActResponseFut;
    fn act_lazy(&self, lazy_action: &mut LazyAction) -> Self::ActLazyResponseFut;
}

Required Associated Types§

Required Methods§

source

fn initialize( &self, params: InitializationParams ) -> Self::InitializeResponseFut

source

fn initialize_tree( &self, params: InitializationParams ) -> Self::InitializeTreeResponseFut

source

fn publish(&self) -> Self::PublishResponseFut

source

fn unpublish(&self) -> Self::UnpublishResponseFut

source

fn act(&self, action: &mut Action) -> Self::ActResponseFut

source

fn act_lazy(&self, lazy_action: &mut LazyAction) -> Self::ActLazyResponseFut

Implementors§

source§

impl ValidateProxyInterface for ValidateProxy

§

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

§

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

§

type PublishResponseFut = QueryResponseFut<TestResult>

§

type UnpublishResponseFut = QueryResponseFut<TestResult>

§

type ActResponseFut = QueryResponseFut<TestResult>

§

type ActLazyResponseFut = QueryResponseFut<TestResult>