pub trait SubmitToConsensus: Sync + Send + 'static {
    // Required method
    fn submit_to_consensus<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        transaction: &'life1 ConsensusTransaction,
        epoch_store: &'life2 Arc<AuthorityPerEpochStore>
    ) -> Pin<Box<dyn Future<Output = SuiResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn submit_to_consensus<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, transaction: &'life1 ConsensusTransaction, epoch_store: &'life2 Arc<AuthorityPerEpochStore> ) -> Pin<Box<dyn Future<Output = SuiResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementations on Foreign Types§

source§

impl SubmitToConsensus for Arc<ConsensusAdapter>

source§

fn submit_to_consensus<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, transaction: &'life1 ConsensusTransaction, epoch_store: &'life2 Arc<AuthorityPerEpochStore> ) -> Pin<Box<dyn Future<Output = SuiResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source§

impl SubmitToConsensus for LazyNarwhalClient

source§

fn submit_to_consensus<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, transaction: &'life1 ConsensusTransaction, _epoch_store: &'life2 Arc<AuthorityPerEpochStore> ) -> Pin<Box<dyn Future<Output = SuiResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source§

impl SubmitToConsensus for TransactionsClient<Channel>

source§

fn submit_to_consensus<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, transaction: &'life1 ConsensusTransaction, _epoch_store: &'life2 Arc<AuthorityPerEpochStore> ) -> Pin<Box<dyn Future<Output = SuiResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§