Skip to main content

async_iter_from

Function async_iter_from 

Source
pub fn async_iter_from<G>(gen: G) -> impl Stream<Item = G::Yield>
where G: AsyncGenerator<Return = ()>,
Expand description

Converts an AsyncGenerator into an async iterator.