Trait IngestionClientTrait
Source pub trait IngestionClientTrait: Send + Sync {
// Required methods
fn chain_id<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ChainIdentifier>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn checkpoint<'life0, 'async_trait>(
&'life0 self,
checkpoint: u64,
) -> Pin<Box<dyn Future<Output = CheckpointResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn latest_checkpoint_number<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}