We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb6584 commit 773073cCopy full SHA for 773073c
src/ws/client.rs
@@ -112,4 +112,6 @@ impl<S: Stream + Clone> Clone for WebSocketClient<S> {
112
pub enum WebSocketClientMode {
113
RemoteClient,
114
RemoteServer,
115
-}
+}
116
+
117
+impl Copy for WebSocketClientMode { }
src/ws/handshake/version.rs
@@ -14,6 +14,8 @@ pub struct HttpVersion {
14
pub version_minor: Option<u8>,
15
}
16
17
+impl Copy for HttpVersion { }
18
19
impl HttpVersion {
20
/// Create a new HttpVersion from major and minor version numbers.
21
pub fn new(version_major: u8, version_minor: Option<u8>) -> HttpVersion {
0 commit comments