Skip to content

Commit

Permalink
Derive Clone and Copy for WebSocketStatus (#1023)
Browse files Browse the repository at this point in the history
* Derive Clone and Copy for WebSocketStatus

* Revert addition of unnecessary WebSocketStatus Copy derive
  • Loading branch information
kellytk authored Mar 14, 2020
1 parent a9f299b commit 2778d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cfg_if! {
}

/// A status of a websocket connection. Used for status notification.
#[derive(Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq)]
pub enum WebSocketStatus {
/// Fired when a websocket connection was opened.
Opened,
Expand Down

0 comments on commit 2778d11

Please sign in to comment.