Struct barter_data::client::binance::Binance [−][src]
pub struct Binance { /* fields omitted */ }Expand description
ExchangeClient implementation for Binance.
Implementations
Constructs a new Binance ExchangeClient instance using the [ClientConfig] provided.
Trait Implementations
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,
fn consume_candles<'life0, 'life1, 'async_trait>(
&'life0 mut self,
symbol: String,
interval: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<UnboundedReceiverStream<Candle>, ClientError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for Binance
impl !UnwindSafe for Binance
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more