Trait LeaderAggregatorClient

Source
pub trait LeaderAggregatorClient: Sync + Send {
    // Required method
    fn retrieve_epoch_settings<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = StdResult<Option<LeaderAggregatorEpochSettings>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Define how data are retrieved from a leader aggregator

Required Methods§

Source

fn retrieve_epoch_settings<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<Option<LeaderAggregatorEpochSettings>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieves epoch settings from the aggregator

Implementors§