pub struct BybitHttpWrapper { /* private fields */ }Implementations§
Trait Implementations§
Source§impl InterfaceHttp for BybitHttpWrapper
impl InterfaceHttp for BybitHttpWrapper
fn get_server_time<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_orderbook<'life0, 'life1, 'async_trait>(
&'life0 self,
symbol: &'life1 String,
limit: Option<i32>,
) -> Pin<Box<dyn Future<Output = Result<Orderbook>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn place_order<'life0, 'life1, 'async_trait>(
&'life0 self,
params: &'life1 PlaceOrderParams,
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn cancel_order<'life0, 'life1, 'async_trait>(
&'life0 self,
order_id: &'life1 String,
) -> Pin<Box<dyn Future<Output = Result<CancelOrderResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn cancel_all_orders<'life0, 'life1, 'async_trait>(
&'life0 self,
symbol: &'life1 String,
) -> Pin<Box<dyn Future<Output = Result<CancelAllOrdersResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn amend_order<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
order_id: &'life1 String,
params: &'life2 AmendOrderParams,
) -> Pin<Box<dyn Future<Output = Result<AmendOrderResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for BybitHttpWrapper
impl !RefUnwindSafe for BybitHttpWrapper
impl Send for BybitHttpWrapper
impl Sync for BybitHttpWrapper
impl Unpin for BybitHttpWrapper
impl !UnwindSafe for BybitHttpWrapper
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