pub trait EffectsNotifyRead: Send + Sync + 'static {
    // Required methods
    fn notify_read_executed_effects<'life0, 'async_trait>(
        &'life0 self,
        digests: Vec<TransactionDigest>
    ) -> Pin<Box<dyn Future<Output = SuiResult<Vec<TransactionEffects>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn notify_read_executed_effects_digests<'life0, 'async_trait>(
        &'life0 self,
        digests: Vec<TransactionDigest>
    ) -> Pin<Box<dyn Future<Output = SuiResult<Vec<TransactionEffectsDigest>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn multi_get_executed_effects(
        &self,
        digests: &[TransactionDigest]
    ) -> SuiResult<Vec<Option<TransactionEffects>>>;
}

Required Methods§

source

fn notify_read_executed_effects<'life0, 'async_trait>( &'life0 self, digests: Vec<TransactionDigest> ) -> Pin<Box<dyn Future<Output = SuiResult<Vec<TransactionEffects>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This method reads executed transaction effects from database. If effects are not available immediately (i.e. haven’t been executed yet), the method blocks until they are persisted in the database.

This method does not schedule transactions for execution - it is responsibility of the caller to schedule transactions for execution before calling this method.

source

fn notify_read_executed_effects_digests<'life0, 'async_trait>( &'life0 self, digests: Vec<TransactionDigest> ) -> Pin<Box<dyn Future<Output = SuiResult<Vec<TransactionEffectsDigest>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn multi_get_executed_effects( &self, digests: &[TransactionDigest] ) -> SuiResult<Vec<Option<TransactionEffects>>>

Implementors§