pub trait SignerRegistrationRoundOpener: Sync + Send {
// Required methods
fn open_registration_round<'life0, 'async_trait>(
&'life0 self,
registration_epoch: Epoch,
stake_distribution: StakeDistribution,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn close_registration_round<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait to open a signer registration round
Required Methods§
sourcefn open_registration_round<'life0, 'async_trait>(
&'life0 self,
registration_epoch: Epoch,
stake_distribution: StakeDistribution,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_registration_round<'life0, 'async_trait>(
&'life0 self,
registration_epoch: Epoch,
stake_distribution: StakeDistribution,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Open a signer registration round