Improve WebSocketState interface with Copy, PartialEq, ...

pull/72/head
Naja Melan 5 years ago
parent b923ec42c0
commit 28579b567a
  1. 2
      src/protocol/mod.rs

@ -533,7 +533,7 @@ impl WebSocketContext {
}
/// The current connection state.
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
enum WebSocketState {
/// The connection is active.
Active,

Loading…
Cancel
Save