Trait FormatStreamIterator

Source
pub trait FormatStreamIterator<T>
where T: FileItem + Send,
{ // Required method fn next<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

Trait for file format iterators.

Required Methods§

Source

fn next<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Next entry in the iterator.

Implementors§