[−][src]Trait fallible_iterator::FallibleIterator
An Iterator
-like trait that allows for calculation of items to fail.
Associated Types
Loading content...Required methods
fn next(&mut self) -> Result<Option<Self::Item>, Self::Error>
Advances the iterator and returns the next value.
Returns Ok(None)
when iteration is finished.
The behavior of calling this method after a previous call has returned
Ok(None)
or Err
is implemenetation defined.
Provided methods
fn size_hint(&self) -> (usize, Option<usize>)
Returns bounds on the remaining length of the iterator.
Specifically, the first half of the returned tuple is a lower bound and the second half is an upper bound.
For the upper bound, None
indicates that the upper bound is either
unknown or larger than can be represented as a usize
.
Both bounds assume that all remaining calls to next
succeed. That is,
next
could return an Err
in fewer calls than specified by the lower
bound.
The default implementation returns (0, None)
, which is correct for
any iterator.
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
Self: Sized,
Consumes the iterator, returning the number of remaining items.
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self: Sized,
Returns the last element of the iterator.
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
Returns the n
th element of the iterator.
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
Self: Sized,
Returns an iterator starting at the same point, but stepping by the given amount at each iteration.
Panics
Panics if step
is 0.
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
Returns an iterator which yields the elements of this iterator followed by another.
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Returns an iterator that yields pairs of this iterator's and another iterator's values.
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
Returns an iterator which applies a fallible transform to the elements of the underlying iterator.
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
Calls a fallible closure on each element of an iterator.
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns an iterator which uses a predicate to determine which values should be yielded. The predicate may fail; such failures are passed to the caller.
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
Returns an iterator which both filters and maps. The closure may fail; such failures are passed along to the consumer.
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
Self: Sized,
Returns an iterator which yields the current iteration count as well as the value.
fn peekable(self) -> Peekable<Self> where
Self: Sized,
Self: Sized,
Returns an iterator that can peek at the next element without consuming it.
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns an iterator that skips elements based on a predicate.
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns an iterator that yields elements based on a predicate.
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
Self: Sized,
Returns an iterator which skips the first n
values of this iterator.
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
Self: Sized,
Returns an iterator that yields only the first n
values of this
iterator.
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
Returns an iterator which applies a stateful map to values of this iterator.
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
Returns an iterator which maps this iterator's elements to iterators, yielding those iterators' values.
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
Returns an iterator which flattens an iterator of iterators, yielding those iterators' values.
fn fuse(self) -> Fuse<Self> where
Self: Sized,
Self: Sized,
Returns an iterator which yields this iterator's elements and ends after
the first Ok(None)
.
The behavior of calling next
after it has previously returned
Ok(None)
is normally unspecified. The iterator returned by this method
guarantees that Ok(None)
will always be returned.
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
Returns an iterator which passes each element to a closure before returning it.
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
Self: Sized,
Borrow an iterator rather than consuming it.
This is useful to allow the use of iterator adaptors that would otherwise consume the value.
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
T: FromFallibleIterator<Self::Item>,
Self: Sized,
Transforms the iterator into a collection.
An Err
will be returned if any invocation of next
returns Err
.
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Transforms the iterator into two collections, partitioning elements by a closure.
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
Applies a function over the elements of the iterator, producing a single final value.
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
Applies a function over the elements of the iterator, producing a single final value.
This is used as the "base" of many methods on FallibleIterator
.
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Determines if all elements of this iterator match a predicate.
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Determines if any element of this iterator matches a predicate.
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns the first element of the iterator that matches a predicate.
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
Applies a function to the elements of the iterator, returning the first non-None
result.
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Returns the position of the first element of this iterator that matches a predicate. The predicate may fail; such failures are returned to the caller.
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
Self: Sized,
Self::Item: Ord,
Returns the maximal element of the iterator.
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
Returns the element of the iterator which gives the maximum value from the function.
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
Returns the element that gives the maximum value with respect to the function.
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
Self: Sized,
Self::Item: Ord,
Returns the minimal element of the iterator.
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
Returns the element of the iterator which gives the minimum value from the function.
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
Returns the element that gives the minimum value with respect to the function.
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
Self: Sized + DoubleEndedFallibleIterator,
Returns an iterator that yields this iterator's items in the opposite order.
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Converts an iterator of pairs into a pair of containers.
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
Returns an iterator which clones all of its elements.
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
Self: Sized + Clone,
Returns an iterator which repeas this iterator endlessly.
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
Lexicographically compares the elements of this iterator to that of another.
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Lexicographically compares the elements of this iterator to that of another.
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
Determines if the elements of this iterator are equal to those of another.
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
Determines if the elements of this iterator are not equal to those of another.
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Determines if the elements of this iterator are lexicographically less than those of another.
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Determines if the elements of this iterator are lexicographically less than or equal to those of another.
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Determines if the elements of this iterator are lexicographically greater than those of another.
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
Determines if the elements of this iterator are lexicographically greater than or equal to those of another.
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
Self: Sized,
Returns a normal (non-fallible) iterator over Result<Item, Error>
.
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
F: FnMut(Self::Error) -> B,
Self: Sized,
Returns an iterator which applies a transform to the errors of the underlying iterator.
Implementations on Foreign Types
impl<I: FallibleIterator + ?Sized, '_> FallibleIterator for &'_ mut I
[src]
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn nth(&mut self, n: usize) -> Result<Option<I::Item>, I::Error>
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I: FallibleIterator + ?Sized> FallibleIterator for Box<I>
[src]
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn nth(&mut self, n: usize) -> Result<Option<I::Item>, I::Error>
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
Implementors
impl<'a, T, I> FallibleIterator for Cloned<I> where
I: FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
I: FallibleIterator<Item = &'a T>,
T: 'a + Clone,
type Item = T
type Error = I::Error
fn next(&mut self) -> Result<Option<T>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<I::Error>,
F: FnMut(B, T) -> Result<B, E>,
[src]
E: From<I::Error>,
F: FnMut(B, T) -> Result<B, E>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<B, F, I> FallibleIterator for MapErr<I, F> where
I: FallibleIterator,
F: FnMut(I::Error) -> B,
[src]
I: FallibleIterator,
F: FnMut(I::Error) -> B,
type Item = I::Item
type Error = B
fn next(&mut self) -> Result<Option<I::Item>, B>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, B>
[src]
fn last(self) -> Result<Option<I::Item>, B>
[src]
fn nth(&mut self, n: usize) -> Result<Option<I::Item>, B>
[src]
fn try_fold<C, E, G>(&mut self, init: C, f: G) -> Result<C, E> where
E: From<B>,
G: FnMut(C, I::Item) -> Result<C, E>,
[src]
E: From<B>,
G: FnMut(C, I::Item) -> Result<C, E>,
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<B, I, F> FallibleIterator for FilterMap<I, F> where
I: FallibleIterator,
F: FnMut(I::Item) -> Result<Option<B>, I::Error>,
[src]
I: FallibleIterator,
F: FnMut(I::Item) -> Result<Option<B>, I::Error>,
type Item = B
type Error = I::Error
fn next(&mut self) -> Result<Option<B>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<C, E, G>(&mut self, init: C, f: G) -> Result<C, E> where
E: From<I::Error>,
G: FnMut(C, B) -> Result<C, E>,
[src]
E: From<I::Error>,
G: FnMut(C, B) -> Result<C, E>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<B, I, St, F> FallibleIterator for Scan<I, St, F> where
I: FallibleIterator,
F: FnMut(&mut St, I::Item) -> Result<Option<B>, I::Error>,
[src]
I: FallibleIterator,
F: FnMut(&mut St, I::Item) -> Result<Option<B>, I::Error>,
type Item = B
type Error = I::Error
fn next(&mut self) -> Result<Option<B>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Cycle<I> where
I: FallibleIterator + Clone,
[src]
I: FallibleIterator + Clone,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Enumerate<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = (usize, I::Item)
type Error = I::Error
fn next(&mut self) -> Result<Option<(usize, I::Item)>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, I::Error>
[src]
fn nth(&mut self, n: usize) -> Result<Option<(usize, I::Item)>, I::Error>
[src]
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<I::Error>,
F: FnMut(B, (usize, I::Item)) -> Result<B, E>,
[src]
E: From<I::Error>,
F: FnMut(B, (usize, I::Item)) -> Result<B, E>,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Flatten<I> where
I: FallibleIterator,
I::Item: IntoFallibleIterator<Error = I::Error>,
[src]
I: FallibleIterator,
I::Item: IntoFallibleIterator<Error = I::Error>,
type Item = <I::Item as IntoFallibleIterator>::Item
type Error = <I::Item as IntoFallibleIterator>::Error
fn next(&mut self) -> Result<Option<Self::Item>, Self::Error>
[src]
fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<Self::Error>,
G: FnMut(B, Self::Item) -> Result<B, E>,
[src]
E: From<Self::Error>,
G: FnMut(B, Self::Item) -> Result<B, E>,
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Fuse<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, I::Error>
[src]
fn last(self) -> Result<Option<I::Item>, I::Error>
[src]
fn nth(&mut self, n: usize) -> Result<Option<I::Item>, I::Error>
[src]
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<I::Error>,
F: FnMut(B, I::Item) -> Result<B, E>,
[src]
E: From<I::Error>,
F: FnMut(B, I::Item) -> Result<B, E>,
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Peekable<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<I::Error>,
F: FnMut(B, I::Item) -> Result<B, E>,
[src]
E: From<I::Error>,
F: FnMut(B, I::Item) -> Result<B, E>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Rev<I> where
I: DoubleEndedFallibleIterator,
[src]
I: DoubleEndedFallibleIterator,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, I::Error>
[src]
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<I::Error>,
F: FnMut(B, I::Item) -> Result<B, E>,
[src]
E: From<I::Error>,
F: FnMut(B, I::Item) -> Result<B, E>,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Skip<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for StepBy<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I> FallibleIterator for Take<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I, F> FallibleIterator for Filter<I, F> where
I: FallibleIterator,
F: FnMut(&I::Item) -> Result<bool, I::Error>,
[src]
I: FallibleIterator,
F: FnMut(&I::Item) -> Result<bool, I::Error>,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<I::Error>,
G: FnMut(B, I::Item) -> Result<B, E>,
[src]
E: From<I::Error>,
G: FnMut(B, I::Item) -> Result<B, E>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I, F> FallibleIterator for Inspect<I, F> where
I: FallibleIterator,
F: FnMut(&I::Item) -> Result<(), I::Error>,
[src]
I: FallibleIterator,
F: FnMut(&I::Item) -> Result<(), I::Error>,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<I::Error>,
G: FnMut(B, I::Item) -> Result<B, E>,
[src]
E: From<I::Error>,
G: FnMut(B, I::Item) -> Result<B, E>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I, P> FallibleIterator for SkipWhile<I, P> where
I: FallibleIterator,
P: FnMut(&I::Item) -> Result<bool, I::Error>,
[src]
I: FallibleIterator,
P: FnMut(&I::Item) -> Result<bool, I::Error>,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I, P> FallibleIterator for TakeWhile<I, P> where
I: FallibleIterator,
P: FnMut(&I::Item) -> Result<bool, I::Error>,
[src]
I: FallibleIterator,
P: FnMut(&I::Item) -> Result<bool, I::Error>,
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<I, U, F> FallibleIterator for FlatMap<I, U, F> where
I: FallibleIterator,
U: IntoFallibleIterator<Error = I::Error>,
F: FnMut(I::Item) -> Result<U, I::Error>,
[src]
I: FallibleIterator,
U: IntoFallibleIterator<Error = I::Error>,
F: FnMut(I::Item) -> Result<U, I::Error>,
type Item = U::Item
type Error = U::Error
fn next(&mut self) -> Result<Option<U::Item>, U::Error>
[src]
fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<U::Error>,
G: FnMut(B, U::Item) -> Result<B, E>,
[src]
E: From<U::Error>,
G: FnMut(B, U::Item) -> Result<B, E>,
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<T, E, I> FallibleIterator for Convert<I> where
I: Iterator<Item = Result<T, E>>,
[src]
I: Iterator<Item = Result<T, E>>,
type Item = T
type Error = E
fn next(&mut self) -> Result<Option<T>, E>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<B, E2, F>(&mut self, init: B, f: F) -> Result<B, E2> where
E2: From<E>,
F: FnMut(B, T) -> Result<B, E2>,
[src]
E2: From<E>,
F: FnMut(B, T) -> Result<B, E2>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<T, F, B> FallibleIterator for Map<T, F> where
T: FallibleIterator,
F: FnMut(T::Item) -> Result<B, T::Error>,
[src]
T: FallibleIterator,
F: FnMut(T::Item) -> Result<B, T::Error>,
type Item = B
type Error = T::Error
fn next(&mut self) -> Result<Option<B>, T::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn try_fold<C, E, G>(&mut self, init: C, f: G) -> Result<C, E> where
E: From<T::Error>,
G: FnMut(C, B) -> Result<C, E>,
[src]
E: From<T::Error>,
G: FnMut(C, B) -> Result<C, E>,
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<T, U> FallibleIterator for Chain<T, U> where
T: FallibleIterator,
U: FallibleIterator<Item = T::Item, Error = T::Error>,
[src]
T: FallibleIterator,
U: FallibleIterator<Item = T::Item, Error = T::Error>,
type Item = T::Item
type Error = T::Error
fn next(&mut self) -> Result<Option<T::Item>, T::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, T::Error>
[src]
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<T::Error>,
F: FnMut(B, T::Item) -> Result<B, E>,
[src]
E: From<T::Error>,
F: FnMut(B, T::Item) -> Result<B, E>,
fn find<F>(&mut self, f: F) -> Result<Option<T::Item>, T::Error> where
F: FnMut(&T::Item) -> Result<bool, T::Error>,
[src]
F: FnMut(&T::Item) -> Result<bool, T::Error>,
fn last(self) -> Result<Option<T::Item>, T::Error>
[src]
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,
impl<T, U> FallibleIterator for Zip<T, U> where
T: FallibleIterator,
U: FallibleIterator<Error = T::Error>,
[src]
T: FallibleIterator,
U: FallibleIterator<Error = T::Error>,
type Item = (T::Item, U::Item)
type Error = T::Error
fn next(&mut self) -> Result<Option<(T::Item, U::Item)>, T::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn last(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
[src]
Self: Sized,
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self> where
Self: Sized,
[src]
Self: Sized,
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self: Sized,
fn zip<I>(self, o: I) -> Zip<Self, I::IntoFallibleIter> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self> where
Self: Sized,
[src]
Self: Sized,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
[src]
Self: Sized,
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
[src]
Self: Sized,
U: IntoFallibleIterator<Error = Self::Error>,
F: FnMut(Self::Item) -> Result<U, Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
[src]
Self: Sized,
Self::Item: IntoFallibleIterator<Error = Self::Error>,
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
ⓘImportant traits for &'_ mut Ifn by_ref(&mut self) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
Self: Sized,
[src]
T: FromFallibleIterator<Self::Item>,
Self: Sized,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
Self: Sized,
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
Self::Item: Ord,
[src]
Self: Sized,
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: Sized + DoubleEndedFallibleIterator,
[src]
Self: Sized + DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: Sized + FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: Sized + FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Sized + Clone,
[src]
Self: Sized + Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
Self: Sized,
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<I::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
[src]
Self: Sized,
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<I::Item>,
ⓘImportant traits for Iterator<I>fn iterator(self) -> Iterator<Self> where
Self: Sized,
[src]
Self: Sized,
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
Self: Sized,
[src]
F: FnMut(Self::Error) -> B,
Self: Sized,