We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78fe17b commit ab14bf6Copy full SHA for ab14bf6
src/timeout_stream.rs
@@ -7,7 +7,7 @@ use remote::GetRemote;
7
8
/// `futures::Stream` extension to simplify building
9
/// [`TimeoutStream`](struct.TimeoutStream.html)
10
-pub trait TimeoutTrait: futures::Stream+Sized {
+pub trait TimeoutTrait: futures::Stream+GetRemote+Sized {
11
/// Create new [`TimeoutStream`](struct.TimeoutStream.html)
12
fn timeout(self, duration: Duration) -> io::Result<TimeoutStream<Self>>;
13
}
0 commit comments