/// 'Zips up' two streams into a single stream of pairs.
///
/// `zip()` returns a new stream that will iterate over two other streams,
/// returning a tuple where the first element comes from the first stream,
/// and the second element comes from the second stream.
///
/// In other words, it zips two stream together, into a single one.
///
/// # Examples
///
/// ```
/// use asyncplify::*;
///
/// let right = (4..6).into_stream();
///
/// let vec = (0..4).into_stream().zip(right).into_vec();
///
/// assert!(vec == [(0, 4),(1, 5)], "vec == {:?}", vec);
/// ```
'Zips up' two streams into a single stream of pairs.
`zip()` returns a new stream that will iterate over two other streams,
returning a tuple where the first element comes from the first stream,
and the second element comes from the second stream.

In other words, it zips two stream together, into a single one.
' Zips up ' two streams into a single stream of pairs . ` zip () ` returns a new stream that will iterate over two other streams returning a tuple where the first element comes from the first stream and the second element comes from the second stream . In other words it zips two stream together into a single one .
fn zip<R>(self, right: R) -> Zip<Self, R>
        where Self: Sized
    {
        Zip::new(self, right)
    }
fn zip < R > ( self , right : R ) -> Zip < Self , R > where Self : Sized { Zip :: new ( self , right ) }
'Zips up' two streams into a single stream of pairs.
' Zips up ' two streams into a single stream of pairs .
self
right
R
examples
```
use asyncplify::*.






` ` ` use asyncplify :: * .