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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BybitWebSocketUrl
impl Debug for BybitWebSocketUrl
Source§impl PartialEq for BybitWebSocketUrl
impl PartialEq for BybitWebSocketUrl
impl Copy for BybitWebSocketUrl
impl Eq for BybitWebSocketUrl
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 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
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.