reth_engine_tree::backfill

Trait 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§