Skip to main content

ChannelListenerProxyInterface

Trait ChannelListenerProxyInterface 

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

    // Required methods
    fn accept(
        &self,
        channel: ClientEnd<ChannelMarker>,
    ) -> Self::AcceptResponseFut;
    fn connected(
        &self,
        payload: ChannelListenerConnectedRequest,
    ) -> Self::ConnectedResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§