ensure recvstream's buf is Send
This commit is contained in:
parent
9f690f7f00
commit
72d11851e1
|
@ -107,7 +107,7 @@ pub trait SendStreamUnframed: SendStream {
|
||||||
/// A trait describing the "receive" actions of a QUIC stream.
|
/// A trait describing the "receive" actions of a QUIC stream.
|
||||||
pub trait RecvStream {
|
pub trait RecvStream {
|
||||||
/// The type of `Buf` for data received on this stream.
|
/// The type of `Buf` for data received on this stream.
|
||||||
type Buf: Buf;
|
type Buf: Buf + Send;
|
||||||
|
|
||||||
/// Poll the stream for more data.
|
/// Poll the stream for more data.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue