Trait BlockchainRpcClient
Source pub trait BlockchainRpcClient {
// Required methods
fn connect<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn subscribe_blocks<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), BlockchainRpcClientError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unsubscribe_blocks<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), BlockchainRpcClientError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn next_rpc_message<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<BlockchainMessage, BlockchainRpcClientError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}