fn weak_select<S>(self, stream: S) -> WeakSelect<Self, S>
    where
        Self: Sized,
        S: Stream<Item = Self::Item, Error = Self::Error>,
    {
        WeakSelect {
            stream1: self,
            stream2: stream,
            flag: false,
        }
    }
/// Creates a stream that selects the next element from either this stream
/// or the provided one, whichever is ready first.
///
/// This combinator will attempt to pull items from both streams. Each
/// stream will be polled in a round-robin fashion, and whenever a stream is
/// ready to yield an item that item is yielded.
///
/// The `weak_select` function is similar to `select` except that
/// the resulting stream will end once any of of the streams end.
///
/// Error are passed through from either stream.
Creates a stream that selects the next element from either this stream
or the provided one, whichever is ready first.

This combinator will attempt to pull items from both streams. Each
stream will be polled in a round-robin fashion, and whenever a stream is
ready to yield an item that item is yielded.

The `weak_select` function is similar to `select` except that
the resulting stream will end once any of of the streams end.

Error are passed through from either stream.
Creates a stream that selects the next element from either this stream or the provided one whichever is ready first . This combinator will attempt to pull items from both streams . Each stream will be polled in a round - robin fashion and whenever a stream is ready to yield an item that item is yielded . The ` weak_select ` function is similar to ` select ` except that the resulting stream will end once any of of the streams end . Error are passed through from either stream .
fn weak_select<S>(self, stream: S) -> WeakSelect<Self, S>
    where
        Self: Sized,
        S: Stream<Item = Self::Item, Error = Self::Error>,
    {
        WeakSelect {
            stream1: self,
            stream2: stream,
            flag: false,
        }
    }
fn weak_select < S > ( self , stream : S ) -> WeakSelect < Self , S > where Self : Sized , S : Stream < Item = Self :: Item , Error = Self :: Error > , { WeakSelect { stream1 : self , stream2 : stream , flag : false , } }
Creates a stream that selects the next element from either this stream
or the provided one, whichever is ready first.
Creates a stream that selects the next element from either this stream or the provided one whichever is ready first .
self
stream
S