pub trait NotificationClient:
Send
+ Sync
+ 'static {
type Channel: Channel<Item = SubscribeResponse>;
// Required method
fn subscribe<'life0, 'async_trait>(
&'life0 self,
subscribe_type: SubscribeType,
) -> Pin<Box<dyn Future<Output = Result<Self::Channel, ObserverError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}