Trait coinbase_pro_rs::wsfeed::CBSink
source · [−]pub trait CBSink: Sink<TMessage, Error = CBError> + Unpin + Send {
fn subscribe<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
product_ids: &'life1 [&'life2 str],
channels: &'life3 [ChannelType],
auth: Option<Auth>
) -> Pin<Box<dyn Future<Output = Result<(), CBError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
{ ... }
}
Provided Methods
sourcefn subscribe<'life0, 'life1, 'life2, 'life3, 'async_trait>(