pub fn tap<F>(source: Stream, f: F) -> Streamwhere F: Fn(&StreamItem) -> Result<()> + Send + Sync + 'static,
Returns a stream that runs f on each packet as a side effect, unchanged.
f