Trait reth_stages_api::StageExt

source ·
pub trait StageExt<DB: Database>: Stage<DB> {
    // Provided method
    fn execute_ready(
        &mut self,
        input: ExecInput,
    ) -> impl Future<Output = Result<(), StageError>> + Send { ... }
}
Expand description

Stage trait extension.

Provided Methods§

source

fn execute_ready( &mut self, input: ExecInput, ) -> impl Future<Output = Result<(), StageError>> + Send

Utility extension for the Stage trait that invokes Stage::poll_execute_ready with poll_fn context. For more information see Stage::poll_execute_ready.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<DB: Database, S: Stage<DB>> StageExt<DB> for S