Trait hdp_preprocessor::compile::datalake::fetchable::Fetchable

source ·
pub trait Fetchable {
    // Required method
    fn fetch(
        &self,
        provider: EvmProvider,
    ) -> impl Future<Output = Result<FetchedDatalake, FetchError>> + Send;
}
Expand description

Fetchable trait for fetching target datalake related data and proofs from the provider

Required Methods§

source

fn fetch( &self, provider: EvmProvider, ) -> impl Future<Output = Result<FetchedDatalake, FetchError>> + Send

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Fetchable for BlockSampledDatalake

source§

async fn fetch( &self, provider: EvmProvider, ) -> Result<FetchedDatalake, FetchError>

source§

impl Fetchable for TransactionsInBlockDatalake

source§

async fn fetch( &self, provider: EvmProvider, ) -> Result<FetchedDatalake, FetchError>

Implementors§