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