HangingDataChannelProxyInterface

Trait HangingDataChannelProxyInterface 

Source
pub trait HangingDataChannelProxyInterface: Send + Sync {
    type ReadResponseFut: Future<Output = Result<HangingDataChannelReadResult, Error>> + Send;
    type WriteResponseFut: Future<Output = Result<HangingDataChannelWriteResult, Error>> + Send;

    // Required methods
    fn read(&self) -> Self::ReadResponseFut;
    fn write(
        &self,
        payload: &HangingDataChannelWriteRequest,
    ) -> Self::WriteResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn read(&self) -> Self::ReadResponseFut

Source

fn write( &self, payload: &HangingDataChannelWriteRequest, ) -> Self::WriteResponseFut

Implementors§