pub trait ChunksTimeoutStreamExt: Stream {
fn chunks_timeout(
self,
capacity: usize,
duration: Duration
) -> ChunksTimeout<Self>
where
Self: Sized,
{ ... }
}
Expand description
A Stream extension trait allowing you to call chunks_timeout
on anything
which implements Stream
.