pub trait IntoConcurrentStream {
    type Item;
    type IntoConcurrentStream: ConcurrentStream<Item = Self::Item>;

    // Required method
    fn into_co_stream(self) -> Self::IntoConcurrentStream;
}
Expand description

Conversion into a ConcurrentStream

Required Associated Types§

source

type Item

The type of the elements being iterated over.

source

type IntoConcurrentStream: ConcurrentStream<Item = Self::Item>

Which kind of iterator are we turning this into?

Required Methods§

source

fn into_co_stream(self) -> Self::IntoConcurrentStream

Convert self into a concurrent iterator.

Implementations on Foreign Types§

source§

impl<T> IntoConcurrentStream for Vec<T>

Implementors§