reth_stages

Trait StageExt

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

Stage trait extension.

Provided Methods§

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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<Provider, S> StageExt<Provider> for S
where S: Stage<Provider>,