Trait DynStateStoreGet

Source
pub trait DynStateStoreGet: StaticSendSync {
    // Required method
    fn get_keyed_row<'life0, 'async_trait>(
        &'life0 self,
        key: TableKey<Bytes>,
        read_options: ReadOptions,
    ) -> Pin<Box<dyn Future<Output = StorageResult<Option<StateStoreKeyedRow>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_keyed_row<'life0, 'async_trait>( &'life0 self, key: TableKey<Bytes>, read_options: ReadOptions, ) -> Pin<Box<dyn Future<Output = StorageResult<Option<StateStoreKeyedRow>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Trait Implementations§

Source§

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

Source§

fn as_ref(&self) -> &dyn DynStateStoreGet

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

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

Source§

fn as_ref(&self) -> &dyn DynStateStoreGet

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

impl AsRef<dyn DynStateStoreGet> for StateStorePointer<Box<dyn DynLocalStateStore>>

Source§

fn as_ref(&self) -> &dyn DynStateStoreGet

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

Implementors§