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