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