pub enum WebSocketSessionStateKind {
Idle,
Connecting,
Open,
Closing,
Closed,
Waiting,
Exhausted,
Errored,
}Expand description
WebSocketSessionStateKind variants.
Variants§
Idle
Idle variant.
Connecting
Connecting variant.
Open
Open variant.
Closing
Closing variant.
Closed
Closed variant.
Waiting
Waiting variant.
Exhausted
Exhausted variant.
Errored
Errored variant.
Trait Implementations§
Source§impl Clone for WebSocketSessionStateKind
impl Clone for WebSocketSessionStateKind
Source§fn clone(&self) -> WebSocketSessionStateKind
fn clone(&self) -> WebSocketSessionStateKind
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 WebSocketSessionStateKind
impl Debug for WebSocketSessionStateKind
impl Eq for WebSocketSessionStateKind
impl StructuralPartialEq for WebSocketSessionStateKind
Auto Trait Implementations§
impl Freeze for WebSocketSessionStateKind
impl RefUnwindSafe for WebSocketSessionStateKind
impl Send for WebSocketSessionStateKind
impl Sync for WebSocketSessionStateKind
impl Unpin for WebSocketSessionStateKind
impl UnsafeUnpin for WebSocketSessionStateKind
impl UnwindSafe for WebSocketSessionStateKind
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
Checks if this value is equivalent to the given key. Read more
§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.