Struct futures_util::stream::Skip[][src]

#[must_use = "streams do nothing unless polled"]
pub struct Skip<St> { /* fields omitted */ }

A stream combinator which skips a number of elements before continuing.

This structure is produced by the Stream::skip method.

Methods

impl<St: Stream> Skip<St>
[src]

Important traits for &'a mut R

Acquires a reference to the underlying stream that this combinator is pulling from.

Important traits for &'a mut R

Acquires a mutable reference to the underlying stream that this combinator is pulling from.

Note that care must be taken to avoid tampering with the state of the stream which may otherwise confuse this combinator.

Consumes this combinator, returning the underlying stream.

Note that this may discard intermediate state of this combinator, so care should be taken to avoid losing resources when this is called.

Trait Implementations

impl<St: Debug> Debug for Skip<St>
[src]

Formats the value using the given formatter. Read more

impl<St: Unpin> Unpin for Skip<St>
[src]

impl<St: Stream> Stream for Skip<St>
[src]

Values yielded by the stream.

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl<St> Send for Skip<St> where
    St: Send

impl<St> Sync for Skip<St> where
    St: Sync