fn skip(self, n: usize) -> Skip<Self>
    where
        Self: Sized,
    {
        assert_stream::<Self::Item, _>(Skip::new(self, n))
    }
/// Creates a new stream which skips `n` items of the underlying stream.
///
/// Once `n` items have been skipped from this stream then it will always
/// return the remaining items on this stream.
///
/// # Examples
///
/// ```
/// # futures::executor::block_on(async {
/// use futures::stream::{self, StreamExt};
///
/// let stream = stream::iter(1..=10).skip(5);
///
/// assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::<Vec<_>>().await);
/// # });
/// ```
Creates a new stream which skips `n` items of the underlying stream.
Once `n` items have been skipped from this stream then it will always
return the remaining items on this stream.
Creates a new stream which skips ` n ` items of the underlying stream . Once ` n ` items have been skipped from this stream then it will always return the remaining items on this stream .
fn skip(self, n: usize) -> Skip<Self>
    where
        Self: Sized,
    {
        assert_stream::<Self::Item, _>(Skip::new(self, n))
    }
fn skip ( self , n : usize ) -> Skip < Self > where Self : Sized , { assert_stream :: < Self :: Item , _ > ( Skip :: new ( self , n ) ) }
Creates a new stream which skips `n` items of the underlying stream.
Creates a new stream which skips ` n ` items of the underlying stream .
self
n
usize
self
n
usize
examples
None
futures::executor::block_on(async {
use futures::stream::{self, StreamExt}.




use futures :: stream :: { self StreamExt } .
});
None