pub trait AsyncControllerFn<'a> {
type Fut: Future<Output = ControllerResult> + Send + 'a;
// Required method
fn call_async(&self, ctx: &'a mut Context) -> Self::Fut;
}Expand description
Helper trait to express the async function signature with proper lifetimes.