mithril_aggregator

Trait SignersImporterPersister

source
pub trait SignersImporterPersister: Sync + Send {
    // Required method
    fn persist<'life0, 'async_trait>(
        &'life0 self,
        signers: HashMap<PartyId, Option<String>>,
    ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait that define how a SignersImporter persist the retrieved signers.

Required Methods§

source

fn persist<'life0, 'async_trait>( &'life0 self, signers: HashMap<PartyId, Option<String>>, ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Persist the given list of signers.

Implementors§