pub trait StoresIter<T> {
    // Required method
    fn iter(
        &mut self
    ) -> StateQueryResult<Box<dyn FallibleIterator<Item = T, Error = StateQueryError> + '_>>;
}
Expand description

Each Stores implementation has its own custom way of iterating over itself, which this trait represents.

Required Methods§

source

fn iter( &mut self ) -> StateQueryResult<Box<dyn FallibleIterator<Item = T, Error = StateQueryError> + '_>>

Implementors§

source§

impl StoresIter<Judged<SignedHashed<Action>>> for FilteredScratch

source§

impl<'stmt, Q> StoresIter<<Q as Query>::Item> for DbScratchIter<'stmt, Q>where Q: Query<Item = Judged<SignedActionHashed>>,

source§

impl<'stmt, Q: Query> StoresIter<<Q as Query>::Item> for QueryStmt<'stmt, Q>

source§

impl<'stmt, Q: Query> StoresIter<<Q as Query>::Item> for QueryStmts<'stmt, Q>