async fn serve_connection<In, Out, H>(
stream: Stream,
handler: H,
version: Version,
server_fqdn: Option<String>,
timeout: Duration,
cancel_rx: Receiver<()>,
metrics: impl Metrics<Out, In>,
) -> Result<Infallible>
Expand description
Serve a single CTP connection.