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
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.