Struct fallible_iterator::Chain
[−]
[src]
pub struct Chain<T, U> { // some fields omitted }
An iterator which yields the elements of one iterator followed by another.
pub struct Chain<T, U> { // some fields omitted }
An iterator which yields the elements of one iterator followed by another.
impl<T, U> FallibleIterator for Chain<T, U> where 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>
fn size_hint(&self) -> (usize, Option<usize>)
fn count(self) -> Result<usize, T::Error>
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where Self: Sized, F: FnMut(Self::Item) -> bool
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where Self: Sized, F: FnMut(Self::Item) -> bool
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 collect<T>(self) -> Result<T, Self::Error> where T: FromFallibleIterator<Self::Item>, Self: Sized
fn enumerate(self) -> Enumerate<Self> where Self: Sized
fn filter<F>(self, f: F) -> Filter<Self, F> where Self: Sized, F: FnMut(&Self::Item) -> bool
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where Self: Sized, F: FnMut(Self::Item) -> Option<B>
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where Self: Sized, F: FnMut(&Self::Item) -> bool
fn fuse(self) -> Fuse<Self> where Self: Sized
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where Self: Sized, F: FnMut(B, Self::Item) -> B
fn iterator(self) -> Iterator<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 map_err<B, F>(self, f: F) -> MapErr<Self, F> where F: FnMut(Self::Error) -> B, Self: Sized
fn max(self) -> Result<Option<Self::Item>, Self::Error> where 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) -> B
fn min(self) -> Result<Option<Self::Item>, Self::Error> where 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) -> B
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
fn peekable(self) -> Peekable<Self> where Self: Sized
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where Self: Sized, F: FnMut(Self::Item) -> bool
fn rev(self) -> Rev<Self> where Self: Sized + DoubleEndedFallibleIterator
fn take(self, n: usize) -> Take<Self> where Self: Sized
fn zip<I>(self, o: I) -> Zip<Self, I::IntoIter> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where 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>
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where 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>
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where 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>
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where 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>
impl<T, U> DoubleEndedFallibleIterator for Chain<T, U> where T: DoubleEndedFallibleIterator, U: DoubleEndedFallibleIterator<Item=T::Item, Error=T::Error>
impl<T: Debug, U: Debug> Debug for Chain<T, U>