Derive Clone and Copy for WebSocketStatus (#1023)

* Derive Clone and Copy for WebSocketStatus

* Revert addition of unnecessary WebSocketStatus Copy derive
This commit is contained in:
Kelly Thomas Kline 2020-03-13 19:44:42 -07:00 committed by GitHub
parent a9f299b471
commit 2778d11cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,