pub trait StopWatcherProxyInterface: Send + Sync {
type WatchComponentResponseFut: Future<Output = Result<ClientEnd<StopWaiterMarker>, Error>> + Send;
// Required method
fn watch_component(
&self,
moniker: &str,
expected_exit: ExitStatus,
) -> Self::WatchComponentResponseFut;
}Required Associated Types§
type WatchComponentResponseFut: Future<Output = Result<ClientEnd<StopWaiterMarker>, Error>> + Send
Required Methods§
fn watch_component( &self, moniker: &str, expected_exit: ExitStatus, ) -> Self::WatchComponentResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".