SignersRegistrationRetriever

Trait SignersRegistrationRetriever 

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

Service responsible for retrieving the signer’s registration from the mithril network

Required Methods§

Source

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

Retrieves signer’s registration from the mithril network

Implementations on Foreign Types§

Source§

impl SignersRegistrationRetriever for AggregatorHttpClient

Source§

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

Implementors§