Skip to main content

StateStoreIter

Trait StateStoreIter 

Source
pub trait StateStoreIter<T: IterItem = StateStoreKeyedRow>: Send {
    // Required method
    fn try_next(&mut self) -> impl StorageFuture<'_, Option<T::ItemRef<'_>>>;
}

Required Methods§

Source

fn try_next(&mut self) -> impl StorageFuture<'_, Option<T::ItemRef<'_>>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IterItem> StateStoreIter<T> for Box<dyn DynStateStoreIter<T> + '_>

Source§

fn try_next( &mut self, ) -> impl Future<Output = StorageResult<Option<T::ItemRef<'_>>>> + Send + '_

Implementors§