fidl_diagnostics_validate

Trait InspectPuppetProxyInterface

Source
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§

Source

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

Source

fn get_config(&self) -> Self::GetConfigResponseFut

Source

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

Source

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

Source

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

Source

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

Implementors§