Struct fallible_iterator::Convert [] [src]

pub struct Convert<I>(_);
[]

A fallible iterator that wraps a normal iterator over Results.

Trait Implementations

impl<T, E, I: Iterator<Item=Result<T, E>>> FallibleIterator for Convert<I>

type Item = T

type Error = E

fn next(&mut self) -> Result<Option<T>, E>

fn size_hint(&self) -> (usize, Option<usize>)

fn by_ref(&mut self) -> &mut Self where Self: Sized

fn chain<I>(self, it: I) -> Chain<Self, I> where I: IntoFallibleIterator<Item=Self::Item, Error=Self::Error>, Self: Sized

fn cloned<'a, T>(self) -> Cloned<Self> where Self: Sized + FallibleIterator<Item=&'a T>, T: 'a + Clone

fn count(self) -> Result<usize, Self::Error> where Self: Sized

fn collect<T>(self) -> Result<T, Self::Error> where T: FromFallibleIterator<Self::Item>, Self: Sized

fn enumerate(self) -> Enumerate<Self> where Self: Sized

fn fuse(self) -> Fuse<Self> where Self: Sized

fn last(self) -> Result<Option<Self::Item>, Self::Error> where Self: Sized

fn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> B, Self: Sized

fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>

fn peekable(self) -> Peekable<Self> where Self: Sized

fn rev(self) -> Rev<Self> where Self: Sized + DoubleEndedFallibleIterator

fn take(self, n: usize) -> Take<Self> where Self: Sized

impl<T, E, I: DoubleEndedIterator<Item=Result<T, E>>> DoubleEndedFallibleIterator for Convert<I>

fn next_back(&mut self) -> Result<Option<T>, E>

Derived Implementations

impl<I: Debug> Debug for Convert<I>

fn fmt(&self, __arg_0: &mut Formatter) -> Result