pub trait Pipeline<I, O>:
Send
+ Sync
+ 'static {
// Required method
fn apply(&self, ctx: Context<I>) -> impl Future<Output = O> + Send;
}Expand description
Represents a pipeline unit that can be applied to a Context. Implementations are automatically provided for functions that match the signature.
Required Methods§
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.