pub trait EchoLauncherProxyInterface: Send + Sync {
type GetEchoResponseFut: Future<Output = Result<ClientEnd<EchoMarker>, Error>> + Send;
// Required methods
fn get_echo(&self, echo_prefix: &str) -> Self::GetEchoResponseFut;
fn get_echo_pipelined(
&self,
echo_prefix: &str,
request: ServerEnd<EchoMarker>,
) -> Result<(), Error>;
}Required Associated Types§
type GetEchoResponseFut: Future<Output = Result<ClientEnd<EchoMarker>, Error>> + Send
Required Methods§
fn get_echo(&self, echo_prefix: &str) -> Self::GetEchoResponseFut
fn get_echo_pipelined( &self, echo_prefix: &str, request: ServerEnd<EchoMarker>, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".