pub trait IntoIterator {
    type Item;
    type IntoIter: Iterator<Item = Self::Item>;

    fn into_iter(self) -> impl Future<Output = Self::IntoIter>;
}
Expand description

Conversion into an Iterator.

Required Associated Types

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Required Methods

Creates an iterator from a value.

Implementors