pub enum WsChannel {
PublicSpot,
PublicLinear,
PublicInverse,
PublicOption,
Private,
Trade,
}Expand description
WebSocket channel type (determines which URL to connect to).
Variants§
PublicSpot
Public spot channel.
PublicLinear
Public linear perpetual channel.
PublicInverse
Public inverse perpetual channel.
PublicOption
Public options channel.
Private
Private channel (requires authentication).
Trade
Trade channel (WebSocket API for orders).
Implementations§
Trait Implementations§
impl Copy for WsChannel
impl Eq for WsChannel
impl StructuralPartialEq for WsChannel
Auto Trait Implementations§
impl Freeze for WsChannel
impl RefUnwindSafe for WsChannel
impl Send for WsChannel
impl Sync for WsChannel
impl Unpin for WsChannel
impl UnwindSafe for WsChannel
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.