mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
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:
parent
a9f299b471
commit
2778d11cc0
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user