pub struct WebSocketApiClient;
Expand description
A factory to create different kind of websocket api clients (spot / future / option / private).
Implementations§
Source§impl WebSocketApiClient
impl WebSocketApiClient
Sourcepub fn spot() -> SpotWebSocketApiClientBuilder
pub fn spot() -> SpotWebSocketApiClientBuilder
Get a builder for building spot websocket api client.
Sourcepub fn future_inverse() -> FutureWebSocketApiClientBuilder
pub fn future_inverse() -> FutureWebSocketApiClientBuilder
Get a builder for building inverse future websocket api client.
Sourcepub fn future_linear() -> FutureWebSocketApiClientBuilder
pub fn future_linear() -> FutureWebSocketApiClientBuilder
Get a builder for building linear future websocket api client.
Sourcepub fn option() -> OptionWebSocketApiClientBuilder
pub fn option() -> OptionWebSocketApiClientBuilder
Get a builder for building option websocket api client.
Sourcepub fn private() -> PrivateWebSocketApiClientBuilder
pub fn private() -> PrivateWebSocketApiClientBuilder
Get a builder for building private websocket api client.
Auto Trait Implementations§
impl Freeze for WebSocketApiClient
impl RefUnwindSafe for WebSocketApiClient
impl Send for WebSocketApiClient
impl Sync for WebSocketApiClient
impl Unpin for WebSocketApiClient
impl UnwindSafe for WebSocketApiClient
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