pub trait StakeDistributionRetriever: Send + Sync {
// Required method
fn retrieve<'life0, 'async_trait>(
&'life0 self,
epoch: Epoch,
) -> Pin<Box<dyn Future<Output = StdResult<Option<StakeDistribution>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Stake Distribution Retriever