pub enum WsEventType {
Open,
Close,
Error,
All,
}Expand description
WebSocket 事件类型枚举
Variants§
Trait Implementations§
Source§impl Clone for WsEventType
impl Clone for WsEventType
Source§fn clone(&self) -> WsEventType
fn clone(&self) -> WsEventType
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 WsEventType
impl Debug for WsEventType
Source§impl Hash for WsEventType
impl Hash for WsEventType
Source§impl PartialEq for WsEventType
impl PartialEq for WsEventType
impl Eq for WsEventType
impl StructuralPartialEq for WsEventType
Auto Trait Implementations§
impl Freeze for WsEventType
impl RefUnwindSafe for WsEventType
impl Send for WsEventType
impl Sync for WsEventType
impl Unpin for WsEventType
impl UnsafeUnpin for WsEventType
impl UnwindSafe for WsEventType
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.