fn classify_connection_error( direction: ConnectionDirection, error: &BoxError, ) -> ConnectionErrorLabels