Trait mainnet_lib::wallet_state::ExternalProvider
source · 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§
Required Methods§
sourcefn 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,
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