Trait teo_runtime::middleware::middleware::Middleware
source · pub trait Middleware: Send + Sync {
// Required method
fn call(
&self,
ctx: Ctx,
next: &'static dyn Next
) -> BoxFuture<'static, Result<Response>>;
}