Trait RpcType
Source pub trait RpcType:
Send
+ Sync
+ Debug {
type RpcReference: Send + Sync + Clone;
type Response;
type Error: Debug + Send + Sync;
// Required method
fn send_query<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
client: &'life1 Client,
network: &'life2 NetworkConfig,
reference: &'life3 Self::RpcReference,
) -> Pin<Box<dyn Future<Output = RetryResponse<Self::Response, SendRequestError<Self::Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}