SignerRegistrationPublisher

Trait SignerRegistrationPublisher 

Source
pub trait SignerRegistrationPublisher: Send + Sync {
    // Required method
    fn register_signer<'life0, 'life1, 'async_trait>(
        &'life0 self,
        epoch: Epoch,
        signer: &'life1 Signer,
    ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Publishes a signer registration to a third party.

Required Methods§

Source

fn register_signer<'life0, 'life1, 'async_trait>( &'life0 self, epoch: Epoch, signer: &'life1 Signer, ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Registers signer with the aggregator.

Implementations on Foreign Types§

Source§

impl SignerRegistrationPublisher for AggregatorHttpClient

Source§

fn register_signer<'life0, 'life1, 'async_trait>( &'life0 self, epoch: Epoch, signer: &'life1 Signer, ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§