pub trait IEventHubClient {
fn subscribe<'life0, 'async_trait>(
&'life0 self,
payload: SubscribeRequest
) -> Pin<Box<dyn Future<Output = CallResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn unsubscribe<'life0, 'async_trait>(
&'life0 self,
request: UnsubscribeRequest
) -> Pin<Box<dyn Future<Output = CallResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_subscribers<'life0, 'async_trait>(
&'life0 self,
request: GetSubscribersRequest
) -> Pin<Box<dyn Future<Output = CallResult<(GetSubscribersResponse,)>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}