Struct fallible_streaming_iterator::Take [] [src]

pub struct Take<I> { /* fields omitted */ }

An iterator which only returns a number of initial elements.

Trait Implementations

impl<I> FallibleStreamingIterator for Take<I> where
    I: FallibleStreamingIterator
[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.

Auto Trait Implementations

impl<I> Send for Take<I> where
    I: Send

impl<I> Sync for Take<I> where
    I: Sync