fn left_stream<B>(self) -> Either<Self, B>
    where
        B: Stream<Item = Self::Item>,
        Self: Sized,
    {
        assert_stream::<Self::Item, _>(Either::Left(self))
    }
/// Wrap this stream in an `Either` stream, making it the left-hand variant
/// of that `Either`.
///
/// This can be used in combination with the `right_stream` method to write `if`
/// statements that evaluate to different streams in different branches.
Wrap this stream in an `Either` stream, making it the left-hand variant
of that `Either`.

This can be used in combination with the `right_stream` method to write `if`
statements that evaluate to different streams in different branches.
Wrap this stream in an ` Either ` stream making it the left - hand variant of that ` Either ` . This can be used in combination with the ` right_stream ` method to write ` if ` statements that evaluate to different streams in different branches .
fn left_stream<B>(self) -> Either<Self, B>
    where
        B: Stream<Item = Self::Item>,
        Self: Sized,
    {
        assert_stream::<Self::Item, _>(Either::Left(self))
    }
fn left_stream < B > ( self ) -> Either < Self , B > where B : Stream < Item = Self :: Item > , Self : Sized , { assert_stream :: < Self :: Item , _ > ( Either :: Left ( self ) ) }
Wrap this stream in an `Either` stream, making it the left-hand variant
of that `Either`.
Wrap this stream in an ` Either ` stream making it the left - hand variant of that ` Either ` .
self
self