pub struct BinanceWebSocketClient;
Expand description
Binance websocket client using Tungstenite.
Implementations§
source§impl BinanceWebSocketClient
impl BinanceWebSocketClient
pub fn connect_with_url( url: &str ) -> Result<WebSocketState<MaybeTlsStream<TcpStream>>, Error>
pub fn connect() -> Result<WebSocketState<MaybeTlsStream<TcpStream>>, Error>
Auto Trait Implementations§
impl RefUnwindSafe for BinanceWebSocketClient
impl Send for BinanceWebSocketClient
impl Sync for BinanceWebSocketClient
impl Unpin for BinanceWebSocketClient
impl UnwindSafe for BinanceWebSocketClient
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