pub trait Chain {
type Item;
type Stream: Stream<Item = Self::Item>;
// Required method
fn chain(self) -> Self::Stream;
}
Expand description
Takes multiple streams and creates a new stream over all in sequence.
pub trait Chain {
type Item;
type Stream: Stream<Item = Self::Item>;
// Required method
fn chain(self) -> Self::Stream;
}
Takes multiple streams and creates a new stream over all in sequence.