pub(crate) async fn bind_api(port: u16) -> Result<TcpListener>Expand description
Add the reserved top-level routes, apply the optional concurrency limit, rewrite legacy URIs,
and bind/serve the router. Shared by all serve_axum* entry points.
Bind before composing routers: OpenAPI generation takes ~0.5s in debug builds, and clients
connecting during it should queue in the accept backlog rather than get refused.