fidl_diagnostics_validateTrait 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;
}