#[repr(u8)]pub enum BithumbConnectionState {
Disconnected = 0,
Connecting = 1,
Connected = 2,
Authenticating = 3,
Authenticated = 4,
Disconnecting = 5,
}Expand description
Bithumb-specific connection state for proper state machine tracking
Variants§
Disconnected = 0
WebSocket is not connected
Connecting = 1
WebSocket is attempting to connect
Connected = 2
WebSocket is connected but not authenticated
Authenticating = 3
WebSocket is attempting to authenticate
Authenticated = 4
WebSocket is connected and authenticated
Disconnecting = 5
WebSocket is disconnecting
Trait Implementations§
Source§impl Clone for BithumbConnectionState
impl Clone for BithumbConnectionState
Source§fn clone(&self) -> BithumbConnectionState
fn clone(&self) -> BithumbConnectionState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BithumbConnectionState
impl Debug for BithumbConnectionState
Source§impl From<u8> for BithumbConnectionState
impl From<u8> for BithumbConnectionState
Source§impl PartialEq for BithumbConnectionState
impl PartialEq for BithumbConnectionState
impl Copy for BithumbConnectionState
impl Eq for BithumbConnectionState
impl StructuralPartialEq for BithumbConnectionState
Auto Trait Implementations§
impl Freeze for BithumbConnectionState
impl RefUnwindSafe for BithumbConnectionState
impl Send for BithumbConnectionState
impl Sync for BithumbConnectionState
impl Unpin for BithumbConnectionState
impl UnwindSafe for BithumbConnectionState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more