pub enum StreamEndpoint {
Markets,
Private,
}Expand description
The two WebSocket surfaces exposed by the venue.
They are separate sockets on separate paths, so a single connection can
never carry both market data and private account events. The SDK mirrors
that split: see MarketStreamClient and PrivateStreamClient.
Variants§
Markets
Order books, trades, and best-bid/offer. Path /v1/ws/markets.
Private
Orders, positions, and account balances. Path /v1/ws/private.
Implementations§
Trait Implementations§
Source§impl Clone for StreamEndpoint
impl Clone for StreamEndpoint
Source§fn clone(&self) -> StreamEndpoint
fn clone(&self) -> StreamEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamEndpoint
Source§impl Debug for StreamEndpoint
impl Debug for StreamEndpoint
Source§impl Display for StreamEndpoint
impl Display for StreamEndpoint
impl Eq for StreamEndpoint
Source§impl Hash for StreamEndpoint
impl Hash for StreamEndpoint
Source§impl PartialEq for StreamEndpoint
impl PartialEq for StreamEndpoint
impl StructuralPartialEq for StreamEndpoint
Auto Trait Implementations§
impl Freeze for StreamEndpoint
impl RefUnwindSafe for StreamEndpoint
impl Send for StreamEndpoint
impl Sync for StreamEndpoint
impl Unpin for StreamEndpoint
impl UnsafeUnpin for StreamEndpoint
impl UnwindSafe for StreamEndpoint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.