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