pub trait Handler {
// Required method
fn call(
&self,
req: Request<Body>,
params: OwnedCaptures,
) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Box<dyn StdError + Send + Sync>>> + Send + 'static>>;
}
pub trait Handler {
// Required method
fn call(
&self,
req: Request<Body>,
params: OwnedCaptures,
) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Box<dyn StdError + Send + Sync>>> + Send + 'static>>;
}