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