pub struct ExchangeHandle { /* private fields */ }Implementations§
Source§impl ExchangeHandle
impl ExchangeHandle
pub fn builder(info: Arc<dyn ExchangeInfo>) -> Builder
pub fn info(&self) -> &dyn ExchangeInfo
pub fn market_data(&self) -> Result<&dyn MarketData>
pub fn spot_trading(&self) -> Result<&dyn SpotTrading>
pub fn futures_trading(&self) -> Result<&dyn FuturesTrading>
pub fn account(&self) -> Result<&dyn Account>
pub fn public_stream(&self) -> Result<&dyn PublicStream>
pub fn private_stream(&self) -> Result<&dyn PrivateStream>
pub fn capabilities(&self) -> Capabilities
Trait Implementations§
Source§impl Clone for ExchangeHandle
impl Clone for ExchangeHandle
Source§fn clone(&self) -> ExchangeHandle
fn clone(&self) -> ExchangeHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExchangeHandle
impl !RefUnwindSafe for ExchangeHandle
impl Send for ExchangeHandle
impl Sync for ExchangeHandle
impl Unpin for ExchangeHandle
impl UnsafeUnpin for ExchangeHandle
impl !UnwindSafe for ExchangeHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more