[−][src]Trait symbolic::debuginfo::pdb::pdb::FallibleIterator
An Iterator
-like trait that allows for calculation of items to fail.
Associated Types
Loading content...Required methods
pub fn next(&mut self) -> Result<Option<Self::Item>, Self::Error>
[src]
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
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
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.
pub fn count(self) -> Result<usize, Self::Error>
[src]
Consumes the iterator, returning the number of remaining items.
pub fn last(self) -> Result<Option<Self::Item>, Self::Error>
[src]
Returns the last element of the iterator.
pub fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
Returns the n
th element of the iterator.
pub fn step_by(self, step: usize) -> StepBy<Self>
[src]
Returns an iterator starting at the same point, but stepping by the given amount at each iteration.
Panics
Panics if step
is 0.
pub fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Returns an iterator which yields the elements of this iterator followed by another.
pub fn zip<I>(
self,
o: I
) -> Zip<Self, <I as IntoFallibleIterator>::IntoFallibleIter> where
I: IntoFallibleIterator<Error = Self::Error>,
[src]
self,
o: I
) -> Zip<Self, <I as IntoFallibleIterator>::IntoFallibleIter> where
I: IntoFallibleIterator<Error = Self::Error>,
Returns an iterator that yields pairs of this iterator's and another iterator's values.
pub fn map<F, B>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<B, Self::Error>,
Returns an iterator which applies a fallible transform to the elements of the underlying iterator.
pub fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<(), Self::Error>,
Calls a fallible closure on each element of an iterator.
pub fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
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.
pub fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
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.
pub fn enumerate(self) -> Enumerate<Self>
[src]
Returns an iterator which yields the current iteration count as well as the value.
pub fn peekable(self) -> Peekable<Self>
[src]
Returns an iterator that can peek at the next element without consuming it.
pub fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns an iterator that skips elements based on a predicate.
pub fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns an iterator that yields elements based on a predicate.
pub fn skip(self, n: usize) -> Skip<Self>
[src]
Returns an iterator which skips the first n
values of this iterator.
pub fn take(self, n: usize) -> Take<Self>
[src]
Returns an iterator that yields only the first n
values of this
iterator.
pub fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
Returns an iterator which applies a stateful map to values of this iterator.
pub fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
F: FnMut(Self::Item) -> Result<U, Self::Error>,
U: IntoFallibleIterator<Error = Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<U, Self::Error>,
U: IntoFallibleIterator<Error = Self::Error>,
Returns an iterator which maps this iterator's elements to iterators, yielding those iterators' values.
pub fn flatten(self) -> Flatten<Self> where
Self::Item: IntoFallibleIterator,
<Self::Item as IntoFallibleIterator>::Error == Self::Error,
[src]
Self::Item: IntoFallibleIterator,
<Self::Item as IntoFallibleIterator>::Error == Self::Error,
Returns an iterator which flattens an iterator of iterators, yielding those iterators' values.
pub fn fuse(self) -> Fuse<Self>
[src]
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.
pub fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
Returns an iterator which passes each element to a closure before returning it.
pub fn by_ref(&mut self) -> &mut Self
[src]
Borrow an iterator rather than consuming it.
This is useful to allow the use of iterator adaptors that would otherwise consume the value.
pub fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
[src]
T: FromFallibleIterator<Self::Item>,
Transforms the iterator into a collection.
An Err
will be returned if any invocation of next
returns Err
.
pub fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Transforms the iterator into two collections, partitioning elements by a closure.
pub fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
Applies a function over the elements of the iterator, producing a single final value.
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
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
.
pub fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Determines if all elements of this iterator match a predicate.
pub fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
Determines if any element of this iterator matches a predicate.
pub fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
Returns the first element of the iterator that matches a predicate.
pub fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
Applies a function to the elements of the iterator, returning the first non-None
result.
pub fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
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.
pub fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self::Item: Ord,
[src]
Self::Item: Ord,
Returns the maximal element of the iterator.
pub fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
Returns the element of the iterator which gives the maximum value from the function.
pub fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
Returns the element that gives the maximum value with respect to the function.
pub fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self::Item: Ord,
[src]
Self::Item: Ord,
Returns the minimal element of the iterator.
pub fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
Returns the element of the iterator which gives the minimum value from the function.
pub fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
Returns the element that gives the minimum value with respect to the function.
pub fn rev(self) -> Rev<Self> where
Self: DoubleEndedFallibleIterator,
[src]
Self: DoubleEndedFallibleIterator,
Returns an iterator that yields this iterator's items in the opposite order.
pub fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
Self: FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
[src]
Self: FallibleIterator<Item = (A, B)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Converts an iterator of pairs into a pair of containers.
pub fn cloned<'a, T>(self) -> Cloned<Self> where
Self: FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: FallibleIterator<Item = &'a T>,
T: 'a + Clone,
Returns an iterator which clones all of its elements.
pub fn cycle(self) -> Cycle<Self> where
Self: Clone,
[src]
Self: Clone,
Returns an iterator which repeas this iterator endlessly.
pub fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
Lexicographically compares the elements of this iterator to that of another.
pub fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
Lexicographically compares the elements of this iterator to that of another.
pub fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
Determines if the elements of this iterator are equal to those of another.
pub fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
Determines if the elements of this iterator are not equal to those of another.
pub fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
Determines if the elements of this iterator are lexicographically less than those of another.
pub fn le<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
Determines if the elements of this iterator are lexicographically less than or equal to those of another.
pub fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
Determines if the elements of this iterator are lexicographically greater than those of another.
pub fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
Determines if the elements of this iterator are lexicographically greater than or equal to those of another.
pub fn iterator(self) -> Iterator<Self>
[src]
Returns a normal (non-fallible) iterator over Result<Item, Error>
.
pub fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
[src]
F: FnMut(Self::Error) -> B,
Returns an iterator which applies a transform to the errors of the underlying iterator.
Implementations on Foreign Types
impl<I> FallibleIterator for Box<I, Global> where
I: FallibleIterator + ?Sized,
[src]
I: FallibleIterator + ?Sized,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn nth(
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
impl<B, F, I> FallibleIterator for MapErr<I, F> where
F: FnMut(<I as FallibleIterator>::Error) -> B,
I: FallibleIterator,
[src]
F: FnMut(<I as FallibleIterator>::Error) -> B,
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = B
pub fn next(&mut self) -> Result<Option<<I as FallibleIterator>::Item>, B>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> Result<usize, B>
[src]
pub fn last(self) -> Result<Option<<I as FallibleIterator>::Item>, B>
[src]
pub fn nth(
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, B>
[src]
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, B>
pub fn try_fold<C, E, G>(&mut self, init: C, f: G) -> Result<C, E> where
E: From<B>,
G: FnMut(C, <I as FallibleIterator>::Item) -> Result<C, E>,
[src]
E: From<B>,
G: FnMut(C, <I as FallibleIterator>::Item) -> Result<C, E>,
impl<T, U> FallibleIterator for Chain<T, U> where
T: FallibleIterator,
U: FallibleIterator<Item = <T as FallibleIterator>::Item, Error = <T as FallibleIterator>::Error>,
[src]
T: FallibleIterator,
U: FallibleIterator<Item = <T as FallibleIterator>::Item, Error = <T as FallibleIterator>::Error>,
type Item = <T as FallibleIterator>::Item
type Error = <T as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<T as FallibleIterator>::Item>, <T as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<T as FallibleIterator>::Item>, <T as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> Result<usize, <T as FallibleIterator>::Error>
[src]
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<<T as FallibleIterator>::Error>,
F: FnMut(B, <T as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<T as FallibleIterator>::Error>,
F: FnMut(B, <T as FallibleIterator>::Item) -> Result<B, E>,
pub fn find<F>(
&mut self,
f: F
) -> Result<Option<<T as FallibleIterator>::Item>, <T as FallibleIterator>::Error> where
F: FnMut(&<T as FallibleIterator>::Item) -> Result<bool, <T as FallibleIterator>::Error>,
[src]
&mut self,
f: F
) -> Result<Option<<T as FallibleIterator>::Item>, <T as FallibleIterator>::Error> where
F: FnMut(&<T as FallibleIterator>::Item) -> Result<bool, <T as FallibleIterator>::Error>,
pub fn last(
self
) -> Result<Option<<T as FallibleIterator>::Item>, <T as FallibleIterator>::Error>
[src]
self
) -> Result<Option<<T as FallibleIterator>::Item>, <T as FallibleIterator>::Error>
impl<I> FallibleIterator for Enumerate<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = (usize, <I as FallibleIterator>::Item)
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<(usize, <I as FallibleIterator>::Item)>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<(usize, <I as FallibleIterator>::Item)>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> Result<usize, <I as FallibleIterator>::Error>
[src]
pub fn nth(
&mut self,
n: usize
) -> Result<Option<(usize, <I as FallibleIterator>::Item)>, <I as FallibleIterator>::Error>
[src]
&mut self,
n: usize
) -> Result<Option<(usize, <I as FallibleIterator>::Item)>, <I as FallibleIterator>::Error>
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, (usize, <I as FallibleIterator>::Item)) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, (usize, <I as FallibleIterator>::Item)) -> Result<B, E>,
impl<B, I, F> FallibleIterator for FilterMap<I, F> where
F: FnMut(<I as FallibleIterator>::Item) -> Result<Option<B>, <I as FallibleIterator>::Error>,
I: FallibleIterator,
[src]
F: FnMut(<I as FallibleIterator>::Item) -> Result<Option<B>, <I as FallibleIterator>::Error>,
I: FallibleIterator,
type Item = B
type Error = <I as FallibleIterator>::Error
pub fn next(&mut self) -> Result<Option<B>, <I as FallibleIterator>::Error>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<C, E, G>(&mut self, init: C, f: G) -> Result<C, E> where
E: From<<I as FallibleIterator>::Error>,
G: FnMut(C, B) -> Result<C, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
G: FnMut(C, B) -> Result<C, E>,
impl<'a, T, I> FallibleIterator for Cloned<I> where
T: 'a + Clone,
I: FallibleIterator<Item = &'a T>,
[src]
T: 'a + Clone,
I: FallibleIterator<Item = &'a T>,
type Item = T
type Error = <I as FallibleIterator>::Error
pub fn next(&mut self) -> Result<Option<T>, <I as FallibleIterator>::Error>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, T) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, T) -> Result<B, E>,
impl<I> FallibleIterator for Rev<I> where
I: DoubleEndedFallibleIterator,
[src]
I: DoubleEndedFallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> Result<usize, <I as FallibleIterator>::Error>
[src]
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
impl<I> FallibleIterator for Skip<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<T, F, B> FallibleIterator for Map<T, F> where
T: FallibleIterator,
F: FnMut(<T as FallibleIterator>::Item) -> Result<B, <T as FallibleIterator>::Error>,
[src]
T: FallibleIterator,
F: FnMut(<T as FallibleIterator>::Item) -> Result<B, <T as FallibleIterator>::Error>,
type Item = B
type Error = <T as FallibleIterator>::Error
pub fn next(&mut self) -> Result<Option<B>, <T as FallibleIterator>::Error>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<C, E, G>(&mut self, init: C, f: G) -> Result<C, E> where
E: From<<T as FallibleIterator>::Error>,
G: FnMut(C, B) -> Result<C, E>,
[src]
E: From<<T as FallibleIterator>::Error>,
G: FnMut(C, B) -> Result<C, E>,
impl<I> FallibleIterator for Fuse<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn count(self) -> Result<usize, <I as FallibleIterator>::Error>
[src]
pub fn last(
self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn nth(
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
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
pub fn next(&mut self) -> Result<Option<T>, E>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<B, E2, F>(&mut self, init: B, f: F) -> Result<B, E2> where
F: FnMut(B, T) -> Result<B, E2>,
E2: From<E>,
[src]
F: FnMut(B, T) -> Result<B, E2>,
E2: From<E>,
impl<I, F> FallibleIterator for Inspect<I, F> where
F: FnMut(&<I as FallibleIterator>::Item) -> Result<(), <I as FallibleIterator>::Error>,
I: FallibleIterator,
[src]
F: FnMut(&<I as FallibleIterator>::Item) -> Result<(), <I as FallibleIterator>::Error>,
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
G: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
G: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
impl<T, U> FallibleIterator for Zip<T, U> where
T: FallibleIterator,
U: FallibleIterator<Error = <T as FallibleIterator>::Error>,
[src]
T: FallibleIterator,
U: FallibleIterator<Error = <T as FallibleIterator>::Error>,
type Item = (<T as FallibleIterator>::Item, <U as FallibleIterator>::Item)
type Error = <T as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<(<T as FallibleIterator>::Item, <U as FallibleIterator>::Item)>, <T as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<(<T as FallibleIterator>::Item, <U as FallibleIterator>::Item)>, <T as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<I, P> FallibleIterator for SkipWhile<I, P> where
P: FnMut(&<I as FallibleIterator>::Item) -> Result<bool, <I as FallibleIterator>::Error>,
I: FallibleIterator,
[src]
P: FnMut(&<I as FallibleIterator>::Item) -> Result<bool, <I as FallibleIterator>::Error>,
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<'_, I> FallibleIterator for &'_ mut I where
I: FallibleIterator + ?Sized,
[src]
I: FallibleIterator + ?Sized,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn nth(
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self,
n: usize
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
impl<I> FallibleIterator for Flatten<I> where
I: FallibleIterator,
<I as FallibleIterator>::Item: IntoFallibleIterator,
<<I as FallibleIterator>::Item as IntoFallibleIterator>::Error == <I as FallibleIterator>::Error,
[src]
I: FallibleIterator,
<I as FallibleIterator>::Item: IntoFallibleIterator,
<<I as FallibleIterator>::Item as IntoFallibleIterator>::Error == <I as FallibleIterator>::Error,
type Item = <<I as FallibleIterator>::Item as IntoFallibleIterator>::Item
type Error = <<I as FallibleIterator>::Item as IntoFallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<Flatten<I> as FallibleIterator>::Item>, <Flatten<I> as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<Flatten<I> as FallibleIterator>::Item>, <Flatten<I> as FallibleIterator>::Error>
pub fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<<Flatten<I> as FallibleIterator>::Error>,
G: FnMut(B, <Flatten<I> as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<Flatten<I> as FallibleIterator>::Error>,
G: FnMut(B, <Flatten<I> as FallibleIterator>::Item) -> Result<B, E>,
impl<I> FallibleIterator for Cycle<I> where
I: FallibleIterator + Clone,
[src]
I: FallibleIterator + Clone,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<I, P> FallibleIterator for TakeWhile<I, P> where
P: FnMut(&<I as FallibleIterator>::Item) -> Result<bool, <I as FallibleIterator>::Error>,
I: FallibleIterator,
[src]
P: FnMut(&<I as FallibleIterator>::Item) -> Result<bool, <I as FallibleIterator>::Error>,
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<I> FallibleIterator for StepBy<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<I, U, F> FallibleIterator for FlatMap<I, U, F> where
F: FnMut(<I as FallibleIterator>::Item) -> Result<U, <I as FallibleIterator>::Error>,
I: FallibleIterator,
U: IntoFallibleIterator<Error = <I as FallibleIterator>::Error>,
[src]
F: FnMut(<I as FallibleIterator>::Item) -> Result<U, <I as FallibleIterator>::Error>,
I: FallibleIterator,
U: IntoFallibleIterator<Error = <I as FallibleIterator>::Error>,
type Item = <U as IntoFallibleIterator>::Item
type Error = <U as IntoFallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<U as IntoFallibleIterator>::Item>, <U as IntoFallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<U as IntoFallibleIterator>::Item>, <U as IntoFallibleIterator>::Error>
pub fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<<U as IntoFallibleIterator>::Error>,
G: FnMut(B, <U as IntoFallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<U as IntoFallibleIterator>::Error>,
G: FnMut(B, <U as IntoFallibleIterator>::Item) -> Result<B, E>,
impl<I> FallibleIterator for Peekable<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
F: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
impl<B, I, St, F> FallibleIterator for Scan<I, St, F> where
F: FnMut(&mut St, <I as FallibleIterator>::Item) -> Result<Option<B>, <I as FallibleIterator>::Error>,
I: FallibleIterator,
[src]
F: FnMut(&mut St, <I as FallibleIterator>::Item) -> Result<Option<B>, <I as FallibleIterator>::Error>,
I: FallibleIterator,
type Item = B
type Error = <I as FallibleIterator>::Error
pub fn next(&mut self) -> Result<Option<B>, <I as FallibleIterator>::Error>
[src]
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<I, F> FallibleIterator for Filter<I, F> where
F: FnMut(&<I as FallibleIterator>::Item) -> Result<bool, <I as FallibleIterator>::Error>,
I: FallibleIterator,
[src]
F: FnMut(&<I as FallibleIterator>::Item) -> Result<bool, <I as FallibleIterator>::Error>,
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
pub fn try_fold<B, E, G>(&mut self, init: B, f: G) -> Result<B, E> where
E: From<<I as FallibleIterator>::Error>,
G: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
[src]
E: From<<I as FallibleIterator>::Error>,
G: FnMut(B, <I as FallibleIterator>::Item) -> Result<B, E>,
impl<I> FallibleIterator for Take<I> where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
type Error = <I as FallibleIterator>::Error
pub fn next(
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
[src]
&mut self
) -> Result<Option<<I as FallibleIterator>::Item>, <I as FallibleIterator>::Error>
pub fn size_hint(&self) -> (usize, Option<usize>)
[src]
Implementors
impl<'_> FallibleIterator for FrameDataIter<'_>
type Item = FrameData
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<FrameDataIter<'_> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<FrameDataIter<'_> as FallibleIterator>::Item>, Error>
impl<'a> FallibleIterator for CrossModuleExportIter<'a>
type Item = CrossModuleExport
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<CrossModuleExportIter<'a> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<CrossModuleExportIter<'a> as FallibleIterator>::Item>, Error>
impl<'a> FallibleIterator for FileIterator<'a>
type Item = FileInfo<'a>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<FileIterator<'a> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<FileIterator<'a> as FallibleIterator>::Item>, Error>
impl<'a> FallibleIterator for InlineeIterator<'a>
type Item = Inlinee<'a>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<InlineeIterator<'a> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<InlineeIterator<'a> as FallibleIterator>::Item>, Error>
impl<'a> FallibleIterator for InlineeLineIterator<'a>
type Item = LineInfo
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<InlineeLineIterator<'a> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<InlineeLineIterator<'a> as FallibleIterator>::Item>, Error>
impl<'a> FallibleIterator for LineIterator<'a>
type Item = LineInfo
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<LineIterator<'a> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<LineIterator<'a> as FallibleIterator>::Item>, Error>
impl<'a, R> FallibleIterator for CallFrameInstructionIter<'a, R> where
R: Reader,
R: Reader,
type Item = CallFrameInstruction<R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<CallFrameInstructionIter<'a, R> as FallibleIterator>::Item>, <CallFrameInstructionIter<'a, R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<CallFrameInstructionIter<'a, R> as FallibleIterator>::Item>, <CallFrameInstructionIter<'a, R> as FallibleIterator>::Error>
impl<'abbrev, 'entry, 'unit, R> FallibleIterator for AttrsIter<'abbrev, 'entry, 'unit, R> where
R: Reader,
R: Reader,
type Item = Attribute<R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<AttrsIter<'abbrev, 'entry, 'unit, R> as FallibleIterator>::Item>, <AttrsIter<'abbrev, 'entry, 'unit, R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<AttrsIter<'abbrev, 'entry, 'unit, R> as FallibleIterator>::Item>, <AttrsIter<'abbrev, 'entry, 'unit, R> as FallibleIterator>::Error>
impl<'bases, Section, R> FallibleIterator for CfiEntriesIter<'bases, Section, R> where
Section: UnwindSection<R>,
R: Reader,
Section: UnwindSection<R>,
R: Reader,
type Item = CieOrFde<'bases, Section, R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<CfiEntriesIter<'bases, Section, R> as FallibleIterator>::Item>, <CfiEntriesIter<'bases, Section, R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<CfiEntriesIter<'bases, Section, R> as FallibleIterator>::Item>, <CfiEntriesIter<'bases, Section, R> as FallibleIterator>::Error>
impl<'c> FallibleIterator for DBISectionContributionIter<'c>
type Item = DBISectionContribution
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<DBISectionContributionIter<'c> as FallibleIterator>::Item>, <DBISectionContributionIter<'c> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<DBISectionContributionIter<'c> as FallibleIterator>::Item>, <DBISectionContributionIter<'c> as FallibleIterator>::Error>
impl<'m> FallibleIterator for ModuleIter<'m>
type Item = Module<'m>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<ModuleIter<'m> as FallibleIterator>::Item>, <ModuleIter<'m> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<ModuleIter<'m> as FallibleIterator>::Item>, <ModuleIter<'m> as FallibleIterator>::Error>
impl<'t> FallibleIterator for BinaryAnnotationsIter<'t>
type Item = BinaryAnnotation
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<BinaryAnnotationsIter<'t> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<BinaryAnnotationsIter<'t> as FallibleIterator>::Item>, Error>
impl<'t> FallibleIterator for SymbolIter<'t>
type Item = Symbol<'t>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<SymbolIter<'t> as FallibleIterator>::Item>, Error>
&mut self
) -> Result<Option<<SymbolIter<'t> as FallibleIterator>::Item>, Error>
impl<'t, I> FallibleIterator for ItemIter<'t, I> where
I: ItemIndex,
I: ItemIndex,
type Item = Item<'t, I>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<ItemIter<'t, I> as FallibleIterator>::Item>, <ItemIter<'t, I> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<ItemIter<'t, I> as FallibleIterator>::Item>, <ItemIter<'t, I> as FallibleIterator>::Error>
impl<R> FallibleIterator for ArangeEntryIter<R> where
R: Reader,
R: Reader,
type Item = ArangeEntry<<R as Reader>::Offset>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<ArangeEntryIter<R> as FallibleIterator>::Item>, <ArangeEntryIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<ArangeEntryIter<R> as FallibleIterator>::Item>, <ArangeEntryIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for CompilationUnitHeadersIter<R> where
R: Reader,
R: Reader,
type Item = CompilationUnitHeader<R, <R as Reader>::Offset>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<CompilationUnitHeadersIter<R> as FallibleIterator>::Item>, <CompilationUnitHeadersIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<CompilationUnitHeadersIter<R> as FallibleIterator>::Item>, <CompilationUnitHeadersIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for LocListIter<R> where
R: Reader,
R: Reader,
type Item = LocationListEntry<R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<LocListIter<R> as FallibleIterator>::Item>, <LocListIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<LocListIter<R> as FallibleIterator>::Item>, <LocListIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for PubNamesEntryIter<R> where
R: Reader,
R: Reader,
type Item = PubNamesEntry<R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<PubNamesEntryIter<R> as FallibleIterator>::Item>, <PubNamesEntryIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<PubNamesEntryIter<R> as FallibleIterator>::Item>, <PubNamesEntryIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for PubTypesEntryIter<R> where
R: Reader,
R: Reader,
type Item = PubTypesEntry<R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<PubTypesEntryIter<R> as FallibleIterator>::Item>, <PubTypesEntryIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<PubTypesEntryIter<R> as FallibleIterator>::Item>, <PubTypesEntryIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for RangeIter<R> where
R: Reader,
R: Reader,
type Item = Range
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<RangeIter<R> as FallibleIterator>::Item>, <RangeIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<RangeIter<R> as FallibleIterator>::Item>, <RangeIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for RawLocListIter<R> where
R: Reader,
R: Reader,
type Item = RawLocListEntry<R>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<RawLocListIter<R> as FallibleIterator>::Item>, <RawLocListIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<RawLocListIter<R> as FallibleIterator>::Item>, <RawLocListIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for RawRngListIter<R> where
R: Reader,
R: Reader,
type Item = RawRngListEntry<<R as Reader>::Offset>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<RawRngListIter<R> as FallibleIterator>::Item>, <RawRngListIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<RawRngListIter<R> as FallibleIterator>::Item>, <RawRngListIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for RngListIter<R> where
R: Reader,
R: Reader,
type Item = Range
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<RngListIter<R> as FallibleIterator>::Item>, <RngListIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<RngListIter<R> as FallibleIterator>::Item>, <RngListIter<R> as FallibleIterator>::Error>
impl<R> FallibleIterator for TypeUnitHeadersIter<R> where
R: Reader,
R: Reader,
type Item = TypeUnitHeader<R, <R as Reader>::Offset>
type Error = Error
pub fn next(
&mut self
) -> Result<Option<<TypeUnitHeadersIter<R> as FallibleIterator>::Item>, <TypeUnitHeadersIter<R> as FallibleIterator>::Error>
&mut self
) -> Result<Option<<TypeUnitHeadersIter<R> as FallibleIterator>::Item>, <TypeUnitHeadersIter<R> as FallibleIterator>::Error>