pub trait StreamExt: Stream {
// Provided methods
fn pipe<P>(self, pipe: P) -> StreamPipe<Self, P>
where P: Pipe<Self::Item>,
Self: Sized { ... }
fn sink<S>(self, sink: S) -> StreamSink<Self, S> ⓘ
where S: Sink<Self::Item>,
Self: Sized { ... }
}