Skip to main content

Next

Trait Next 

Source
pub trait Next {
    // Required method
    fn run(self, cx: &mut Context<'_>) -> impl Future<Output = Outcome> + Send;
}
Expand description

A statically dispatched continuation of the Plugin Chain.

Required Methods§

Source

fn run(self, cx: &mut Context<'_>) -> impl Future<Output = Outcome> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§