mithril_signer::services

Trait SignedEntityConfigProvider

source
pub trait SignedEntityConfigProvider: Sync + Send {
    // Required method
    fn get<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = StdResult<SignedEntityConfig>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait to provide the current signed entity configuration that can change over time.

Required Methods§

source

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

Get the current signed entity configuration.

Implementors§