Struct crypto_ws_client::GateSpotWSClient [−][src]
pub struct GateSpotWSClient<'a> { /* fields omitted */ }
Expand description
The WebSocket client for Gate spot market.
- WebSocket API doc: https://www.gate.io/docs/apiv4/ws/en/index.html
- Trading at https://www.gate.io/en/trade/BTC_USDT
Trait Implementations
Creates a new client. Read more
Subscribes to incremental level2 orderbook channels. Read more
Subscribes to level2 orderbook snapshot 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<'a> RefUnwindSafe for GateSpotWSClient<'a>
impl<'a> Send for GateSpotWSClient<'a>
impl<'a> Sync for GateSpotWSClient<'a>
impl<'a> Unpin for GateSpotWSClient<'a>
impl<'a> UnwindSafe for GateSpotWSClient<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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