Struct fallible_streaming_iterator::Map [] [src]

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

An iterator which applies a transform to elements.

Trait Implementations

impl<I, F, B> FallibleStreamingIterator for Map<I, F, B> where
    I: FallibleStreamingIterator,
    F: FnMut(&I::Item) -> B, 
[src]

The type being iterated over.

The error type of iteration.

[src]

Advances the iterator to the next position. Read more

[src]

Returns the current element. Read more

[src]

Returns bounds on the number of remaining elements in the iterator.

[src]

Advances the iterator, returning the next element. Read more

[src]

Determines if all elements of the iterator satisfy a predicate.

[src]

Determines if any elements of the iterator satisfy a predicate.

[src]

Borrows an iterator, rather than consuming it. Read more

[src]

Returns the number of remaining elements in the iterator.

[src]

Returns an iterator which filters elements by a predicate.

[src]

Returns the first element of the iterator which satisfies a predicate.

[src]

Calls a closure on each element of an iterator.

[src]

Returns an iterator which is well-behaved at the beginning and end of iteration.

[src]

Returns an iterator which applies a transform to elements.

[src]

Returns an iterator which applies a transform to elements. Read more

[src]

Returns an iterator that applies a transform to errors.

[src]

Returns the nth element of the iterator.

[src]

Returns the position of the first element matching a predicate.

[src]

Returns an iterator which skips the first n elements.

[src]

Returns an iterator which skips the first sequence of elements matching a predicate.

[src]

Returns an iterator which only returns the first n elements.

[src]

Returns an iterator which only returns the first sequence of elements matching a predicate.

impl<I, F, B> DoubleEndedFallibleStreamingIterator for Map<I, F, B> where
    I: DoubleEndedFallibleStreamingIterator,
    F: FnMut(&I::Item) -> B, 
[src]

[src]

Advances the state of the iterator to the next item from the end. Read more

[src]

Advances the back of the iterator, returning the last element. Read more

Auto Trait Implementations

impl<I, F, B> Send for Map<I, F, B> where
    B: Send,
    F: Send,
    I: Send

impl<I, F, B> Sync for Map<I, F, B> where
    B: Sync,
    F: Sync,
    I: Sync