Trait barter_data::ExchangeClient [−][src]
pub trait ExchangeClient {
fn consume_trades<'life0, 'async_trait>(
&'life0 mut self,
symbol: String
) -> Pin<Box<dyn Future<Output = Result<UnboundedReceiverStream<Trade>, ClientError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Client trait defining the behaviour of all implementing ExchangeClients. All methods return a stream of normalised data.