pub enum RealtimeState {
Disconnected,
Connecting,
Connected,
Subscribed,
ShuttingDown,
}Expand description
Connection state
Variants§
Disconnected
Not connected to the Realtime server.
Connecting
Connection in progress.
Connected
WebSocket connected but channel not yet joined.
Subscribed
Channel joined and ready for messages.
ShuttingDown
Gracefully shutting down.
Trait Implementations§
Source§impl Clone for RealtimeState
impl Clone for RealtimeState
Source§fn clone(&self) -> RealtimeState
fn clone(&self) -> RealtimeState
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 RealtimeState
impl Debug for RealtimeState
Source§impl PartialEq for RealtimeState
impl PartialEq for RealtimeState
impl Copy for RealtimeState
impl Eq for RealtimeState
impl StructuralPartialEq for RealtimeState
Auto Trait Implementations§
impl Freeze for RealtimeState
impl RefUnwindSafe for RealtimeState
impl Send for RealtimeState
impl Sync for RealtimeState
impl Unpin for RealtimeState
impl UnsafeUnpin for RealtimeState
impl UnwindSafe for RealtimeState
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.