pub async fn service(
request: Request<Incoming>,
app_state: Arc<Mutex<AppState>>,
) -> Result<Response<BoxBody>, Error>Expand description
Entry point for each HTTP request.
§Routing order
OPTIONS → middleware → rule sets → dyn_route (fallback). See
respond_response and dyn_route_content for each step’s details.