pub trait JsonRpcClientWrapper: Send + Sync + Debug {
// Required method
fn request<'life0, 'life1, 'async_trait>(
&'life0 self,
method: &'life1 str,
params: QuorumParams
) -> Pin<Box<dyn Future<Output = Result<Value, ProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Wrapper trait for crate::JsonRpcClient
that erases generics and is
object-safe. This trait is not intended for outside implementation