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