pub trait ExternalProvider {
    type Error;

    // Required method
    fn download_state_from_network<'life0, 'life1, 'async_trait>(
        &'life0 self,
        actors: &'life1 [Actor]
    ) -> Pin<Box<dyn Future<Output = Result<Vec<MainnetWalletState>, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Trait for retrieving information about address registrations from network

Required Associated Types§

source

type Error

Error which can be returned on any issue with retrieving information

Required Methods§

source

fn download_state_from_network<'life0, 'life1, 'async_trait>( &'life0 self, actors: &'life1 [Actor] ) -> Pin<Box<dyn Future<Output = Result<Vec<MainnetWalletState>, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Downloads MainnetWalletState from network

Implementors§