Trait AccountExtractor

Source
pub trait AccountExtractor {
    type Error;

    // Required method
    fn get_accounts<'life0, 'async_trait>(
        &'life0 self,
        block: Block,
        account_addresses: Vec<Address>,
    ) -> Pin<Box<dyn Future<Output = Result<HashMap<Bytes, AccountDelta>, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn get_accounts<'life0, 'async_trait>( &'life0 self, block: Block, account_addresses: Vec<Address>, ) -> Pin<Box<dyn Future<Output = Result<HashMap<Bytes, AccountDelta>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§