Skip to main content

PingProxyInterface

Trait PingProxyInterface 

Source
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§

Source

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".

Implementors§