pub fn take(source: Stream, limit: usize) -> Stream
Returns a stream that yields at most the first limit packets of source.
limit
source