Trait fallible_iterator::IntoFallibleIterator [] [src]

pub trait IntoFallibleIterator {
    type Item;
    type Error;
    type IntoIter: FallibleIterator<Item=Self::Item, Error=Self::Error>;
    fn into_fallible_iterator(self) -> Self::IntoIter;
}

Conversion into a FallibleIterator.

Associated Types

type Item

The elements of the iterator.

type Error

The error value of the iterator.

type IntoIter: FallibleIterator<Item=Self::Item, Error=Self::Error>

The iterator.

Required Methods

fn into_fallible_iterator(self) -> Self::IntoIter

Creates a fallible iterator from a value.

Implementors