fn peekable(self) -> Peekable<Self>
    where
        Self: Sized,
    {
        assert_stream::<Self::Item, _>(Peekable::new(self))
    }
/// Creates a new stream which exposes a `peek` method.
///
/// Calling `peek` returns a reference to the next item in the stream.
Creates a new stream which exposes a `peek` method.
Calling `peek` returns a reference to the next item in the stream.
Creates a new stream which exposes a ` peek ` method . Calling ` peek ` returns a reference to the next item in the stream .
fn peekable(self) -> Peekable<Self>
    where
        Self: Sized,
    {
        assert_stream::<Self::Item, _>(Peekable::new(self))
    }
fn peekable ( self ) -> Peekable < Self > where Self : Sized , { assert_stream :: < Self :: Item , _ > ( Peekable :: new ( self ) ) }
Creates a new stream which exposes a `peek` method.
Creates a new stream which exposes a ` peek ` method .
self
self