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 d3ebb51 commit a4b3960Copy full SHA for a4b3960
rumqttc/src/framed.rs
@@ -92,5 +92,11 @@ impl Network {
92
}
93
94
95
-pub trait AsyncReadWrite: AsyncRead + AsyncWrite + Send + Sync + Unpin {}
96
-impl<T> AsyncReadWrite for T where T: AsyncRead + AsyncWrite + Send + Sync + Unpin {}
+#[cfg(not(feature = "websocket"))]
+pub trait AsyncReadWrite: AsyncRead + AsyncWrite + Send + Unpin {}
97
98
+impl<T> AsyncReadWrite for T where T: AsyncRead + AsyncWrite + Send + Unpin {}
99
+#[cfg(feature = "websocket")]
100
101
102
0 commit comments