Struct crypto_ws_client::BitgetSwapWSClient [−][src]
pub struct BitgetSwapWSClient { /* fields omitted */ }Expand description
The WebSocket client for Bitget swap markets.
User has the opinion to subscribe 1 or more channels, total length of multiple channel can not exceeds 4096 bytes.
- WebSocket API doc: https://bitgetlimited.github.io/apidoc/en/swap/#websocketapi
- Trading at: https://www.bitget.com/en/swap/
Implementations
Trait Implementations
Subscribes to incremental level2 orderbook channels. Read more
Subscribes to level2 orderbook snapshot channels. Read more
Subscribes to level3 orderebook channels. Read more
Subscribes to BBO(best bid & offer) channels. Read more
Subscribes to candlestick channels. Read more
Unsubscribes from raw channels, lower level API.
Starts the infinite loop until time is up or the server closes the connection. Read more
Auto Trait Implementations
impl !RefUnwindSafe for BitgetSwapWSClient
impl Send for BitgetSwapWSClient
impl !Sync for BitgetSwapWSClient
impl Unpin for BitgetSwapWSClient
impl !UnwindSafe for BitgetSwapWSClient
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