pub trait MiddlewareArgument<A>:
Send
+ Sync
+ 'static {
// Required method
fn call(
&self,
request: Request,
next: Next,
) -> BoxFuture<'static, Result<Response>>;
}pub trait MiddlewareArgument<A>:
Send
+ Sync
+ 'static {
// Required method
fn call(
&self,
request: Request,
next: Next,
) -> BoxFuture<'static, Result<Response>>;
}