pub async fn serve(
listener: TcpListener,
router: Router,
) -> Result<(), ServerError>Expand description
Serve router on listener until the process is killed.
No graceful shutdown — prefer serve_with_shutdown for anything that
should drain in-flight requests before exiting.