Trait jsonrpsee_core::client::TransportReceiverT
source · pub trait TransportReceiverT: 'static {
type Error: Error + Send + Sync;
// Required method
fn receive<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<ReceivedMessage, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Transport interface to receive data asynchronous.