Trait reth_engine_tree::backfill::BackfillSync

source ·
pub trait BackfillSync: Send + Sync {
    // Required methods
    fn on_action(&mut self, action: BackfillAction);
    fn poll(&mut self, cx: &mut Context<'_>) -> Poll<BackfillEvent>;
}
Expand description

Backfill sync mode functionality.

Required Methods§

source

fn on_action(&mut self, action: BackfillAction)

Performs a backfill action.

source

fn poll(&mut self, cx: &mut Context<'_>) -> Poll<BackfillEvent>

Polls the pipeline for completion.

Implementors§

source§

impl<N: ProviderNodeTypes> BackfillSync for PipelineSync<N>