pub struct NativeClient<'a> { /* private fields */ }Expand description
Access to venue-specific adapter functionality.
Implementations§
Source§impl<'a> NativeClient<'a>
impl<'a> NativeClient<'a>
Sourcepub fn binance(&self) -> Result<&BinanceLinearFuturesAdapter>
pub fn binance(&self) -> Result<&BinanceLinearFuturesAdapter>
Return the Binance adapter when this client was built for Binance.
Sourcepub fn bybit(&self) -> Result<&BybitLinearFuturesAdapter>
pub fn bybit(&self) -> Result<&BybitLinearFuturesAdapter>
Return the Bybit adapter when this client was built for Bybit.
Sourcepub fn mexc(&self) -> Result<&MexcLinearFuturesAdapter>
pub fn mexc(&self) -> Result<&MexcLinearFuturesAdapter>
Return the MEXC adapter when this client was built for MEXC.
Auto Trait Implementations§
impl<'a> Freeze for NativeClient<'a>
impl<'a> !RefUnwindSafe for NativeClient<'a>
impl<'a> Send for NativeClient<'a>
impl<'a> Sync for NativeClient<'a>
impl<'a> Unpin for NativeClient<'a>
impl<'a> UnsafeUnpin for NativeClient<'a>
impl<'a> !UnwindSafe for NativeClient<'a>
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