use crate::state::AppState; use axum::body::Body; use axum::{ extract::State, http::{self, Request, StatusCode}, middleware::Next, response::Response, }; #[tracing::instrument(skip_all, fields(rejection_reason = tracing::field::Empty))] pub async fn {{name}}( State(app_state): State, mut req: Request, next: Next, ) -> Result { todo!("Implement this (return `next.run(req).await` to continue processing the request or Err(StatusCode) to error out).") }