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§
sourcefn on_action(&mut self, action: BackfillAction)
fn on_action(&mut self, action: BackfillAction)
Performs a backfill action.
sourcefn poll(&mut self, cx: &mut Context<'_>) -> Poll<BackfillEvent>
fn poll(&mut self, cx: &mut Context<'_>) -> Poll<BackfillEvent>
Polls the pipeline for completion.