Trait DynStateStoreRead

Source
pub trait DynStateStoreRead: DynStateStoreGet + StaticSendSync {
    // Required methods
    fn iter<'life0, 'async_trait>(
        &'life0 self,
        key_range: TableKeyRange,
        read_options: ReadOptions,
    ) -> Pin<Box<dyn Future<Output = StorageResult<Box<dyn DynStateStoreIter<StateStoreKeyedRow> + 'static>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn rev_iter<'life0, 'async_trait>(
        &'life0 self,
        key_range: TableKeyRange,
        read_options: ReadOptions,
    ) -> Pin<Box<dyn Future<Output = StorageResult<Box<dyn DynStateStoreIter<StateStoreKeyedRow> + 'static>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn iter<'life0, 'async_trait>( &'life0 self, key_range: TableKeyRange, read_options: ReadOptions, ) -> Pin<Box<dyn Future<Output = StorageResult<Box<dyn DynStateStoreIter<StateStoreKeyedRow> + 'static>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn rev_iter<'life0, 'async_trait>( &'life0 self, key_range: TableKeyRange, read_options: ReadOptions, ) -> Pin<Box<dyn Future<Output = StorageResult<Box<dyn DynStateStoreIter<StateStoreKeyedRow> + 'static>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Trait Implementations§

Source§

impl AsRef<dyn DynStateStoreRead> for StateStorePointer<Arc<dyn DynStateStoreRead>>

Source§

fn as_ref(&self) -> &dyn DynStateStoreRead

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<dyn DynStateStoreRead> for StateStorePointer<Arc<dyn DynStateStoreReadSnapshot>>

Source§

fn as_ref(&self) -> &dyn DynStateStoreRead

Converts this type into a shared reference of the (usually inferred) input type.

Implementors§