From 72d11851e1c5868e10b0b27aaae7f2046fa4cb75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Michel?= Date: Tue, 11 Jul 2023 13:56:27 +0000 Subject: [PATCH] ensure recvstream's buf is Send --- transport/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/lib.rs b/transport/src/lib.rs index f2de12a..c33ab0f 100644 --- a/transport/src/lib.rs +++ b/transport/src/lib.rs @@ -107,7 +107,7 @@ pub trait SendStreamUnframed: SendStream { /// A trait describing the "receive" actions of a QUIC stream. pub trait RecvStream { /// The type of `Buf` for data received on this stream. - type Buf: Buf; + type Buf: Buf + Send; /// Poll the stream for more data. ///