diff --git a/rumqttc/src/framed.rs b/rumqttc/src/framed.rs index beb1d32de..ec0e6ba6d 100644 --- a/rumqttc/src/framed.rs +++ b/rumqttc/src/framed.rs @@ -92,5 +92,5 @@ impl Network { } } -pub trait AsyncReadWrite: AsyncRead + AsyncWrite + Send + Unpin {} -impl AsyncReadWrite for T where T: AsyncRead + AsyncWrite + Send + Unpin {} +pub trait AsyncReadWrite: AsyncRead + AsyncWrite + Send + Sync + Unpin {} +impl AsyncReadWrite for T where T: AsyncRead + AsyncWrite + Send + Sync + Unpin {}