Trait fallible_iterator::IntoFallibleIterator

source ·
pub trait IntoFallibleIterator {
    type Item;
    type Error;
    type IntoFallibleIter: FallibleIterator<Item = Self::Item, Error = Self::Error>;

    // Required method
    fn into_fallible_iter(self) -> Self::IntoFallibleIter;
}
Expand description

Conversion into a FallibleIterator.

Required Associated Types§

source

type Item

The elements of the iterator.

source

type Error

The error value of the iterator.

source

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

The iterator.

Required Methods§

source

fn into_fallible_iter(self) -> Self::IntoFallibleIter

Creates a fallible iterator from a value.

Implementors§