Struct futures_state_stream::Map [] [src]

pub struct Map<S, F> { /* fields omitted */ }

A stream which applies a transform to the elements of a stream.

Trait Implementations

impl<S, F, B> StateStream for Map<S, F> where
    S: StateStream,
    F: FnMut(S::Item) -> B, 
[src]

The items being streamed.

The state returned when streaming completes.

The error returned.

[src]

Similar to Stream::poll. Read more

[src]

Returns a future which yields the next element of the stream.

[src]

Returns a normal Stream which yields the elements of this stream and discards the state.

[src]

Returns a stream which applies a transform to items of this stream.

[src]

Returns a stream which applies a transform to errors of this stream.

[src]

Returns a stream which applies a transform to the state of this stream.

[src]

Returns a stream which filters items of this stream by a predicate.

[src]

Returns a stream which filters and transforms items of this stream by a predicate.

[src]

Returns a stream which collects all items of this stream into a Vec, returning it along with the stream's state. Read more

[src]

Returns a future which applies a closure to each item of this stream.