pub trait ClientFactory<T, C>: Send + Syncwhere
T: MessageChannel<C>,
C: Codec,{
// Required method
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
endpoint: &'life1 Endpoint,
) -> Pin<Box<dyn Future<Output = Result<RpcClient<T, C>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}