pub enum BybitWebSocketUrl {
Bybit,
Bytick,
Test,
None,
}Available on crate feature
bybit only.Expand description
A enum that represents the base url of the Bybit WebSocket API.
Variants§
Bybit
wss://stream.bybit.com
Bytick
wss://stream.bytick.com
Test
wss://stream-testnet.bybit.com
None
The url will not be modified by BybitWebSocketHandler
Implementations§
Trait Implementations§
Source§impl Clone for BybitWebSocketUrl
impl Clone for BybitWebSocketUrl
Source§fn clone(&self) -> BybitWebSocketUrl
fn clone(&self) -> BybitWebSocketUrl
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 BybitWebSocketUrl
Source§impl Debug for BybitWebSocketUrl
impl Debug for BybitWebSocketUrl
impl Eq for BybitWebSocketUrl
Source§impl PartialEq for BybitWebSocketUrl
impl PartialEq for BybitWebSocketUrl
Source§fn eq(&self, other: &BybitWebSocketUrl) -> bool
fn eq(&self, other: &BybitWebSocketUrl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BybitWebSocketUrl
Auto Trait Implementations§
impl Freeze for BybitWebSocketUrl
impl RefUnwindSafe for BybitWebSocketUrl
impl Send for BybitWebSocketUrl
impl Sync for BybitWebSocketUrl
impl Unpin for BybitWebSocketUrl
impl UnsafeUnpin for BybitWebSocketUrl
impl UnwindSafe for BybitWebSocketUrl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.