pub trait ChunksTimeoutStreamExt: Stream {
// Provided method
fn chunks_timeout(
self,
capacity: usize,
duration: Duration,
) -> ChunksTimeout<Self>
where Self: Sized { ... }
}pub trait ChunksTimeoutStreamExt: Stream {
// Provided method
fn chunks_timeout(
self,
capacity: usize,
duration: Duration,
) -> ChunksTimeout<Self>
where Self: Sized { ... }
}