pub trait Handler<I, O, Args>:
Send
+ Sync
+ 'static {
// Required method
fn call(&self, ctx: Context<I>) -> impl Future<Output = O> + Send;
}Expand description
A trait for functions that can be used as pipeline steps.
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.