Skip to main content

EchoProxyInterface

Trait EchoProxyInterface 

Source
pub trait EchoProxyInterface: Send + Sync {
    type EchoStringResponseFut: Future<Output = Result<Option<String>, Error>> + Send;

    // Required method
    fn echo_string(&self, value: Option<&str>) -> Self::EchoStringResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn echo_string(&self, value: Option<&str>) -> Self::EchoStringResponseFut

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§