Skip to main content

ConnectionReceiver2ProxyInterface

Trait ConnectionReceiver2ProxyInterface 

Source
pub trait ConnectionReceiver2ProxyInterface: Send + Sync {
    type ConnectedResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn connected(
        &self,
        payload: ConnectionReceiver2ConnectedRequest,
    ) -> Self::ConnectedResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§