pub trait InspectPuppetProxyInterface: Send + Sync {
type InitializeResponseFut: Future<Output = Result<(Option<NullableHandle>, 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;
type ActLazyThreadLocalResponseFut: 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;
fn act_lazy_thread_local(
&self,
lazy_action: &LazyAction,
) -> Self::ActLazyThreadLocalResponseFut;
}Required Associated Types§
type InitializeResponseFut: Future<Output = Result<(Option<NullableHandle>, 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
type ActLazyThreadLocalResponseFut: 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
fn act_lazy_thread_local( &self, lazy_action: &LazyAction, ) -> Self::ActLazyThreadLocalResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".