(
&self,
conn: Connection,
tokio_metrics_intervals: impl Iterator<Item = TaskMetrics> + Send + 'static,
)
| 80 | const NAME: &'static str = "pgwire"; |
| 81 | |
| 82 | fn handle_connection( |
| 83 | &self, |
| 84 | conn: Connection, |
| 85 | tokio_metrics_intervals: impl Iterator<Item = TaskMetrics> + Send + 'static, |
| 86 | ) -> ConnectionHandler { |
| 87 | // Using fully-qualified syntax means we won't accidentally call |
| 88 | // ourselves (i.e., silently infinitely recurse) if the name or type of |
| 89 | // `crate::Server::handle_connection` changes. |
| 90 | Box::pin(crate::Server::handle_connection( |
| 91 | self, |
| 92 | conn, |
| 93 | tokio_metrics_intervals, |
| 94 | )) |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | impl Server { |
nothing calls this directly
no test coverage detected