ensure recvstream's buf is Send

This commit is contained in:
François Michel 2023-07-11 13:56:27 +00:00
parent 9f690f7f00
commit 72d11851e1
1 changed files with 1 additions and 1 deletions

View File

@ -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.
///