Skip to main content

MockPeerProxyInterface

Trait MockPeerProxyInterface 

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§