pub trait TimeLimitedChunksExt: Stream {
// Provided method
fn time_limited_chunks(
self,
capacity: usize,
timeout: Duration,
) -> TimeLimitedChunks<Self>
where Self: Sized { ... }
}pub trait TimeLimitedChunksExt: Stream {
// Provided method
fn time_limited_chunks(
self,
capacity: usize,
timeout: Duration,
) -> TimeLimitedChunks<Self>
where Self: Sized { ... }
}