fn assert_error_counters(metrics: &MetricsRegistry) {
    assert_eq!(
        0,
        fetch_int_counter_vec(metrics, "critical_errors")
            .values()
            .sum::<u64>()
    );
}
/// Asserts that all error counters in the state manager are still 0
Asserts that all error counters in the state manager are still 0
Asserts that all error counters in the state manager are still 0
fn assert_error_counters(metrics: &MetricsRegistry) {
    assert_eq!(
        0,
        fetch_int_counter_vec(metrics, "critical_errors")
            .values()
            .sum::<u64>()
    );
}
fn assert_error_counters ( metrics : & MetricsRegistry ) { assert_eq ! ( 0 fetch_int_counter_vec ( metrics " " ) values ( ) sum u64 ( ) ) ; }
Asserts that all error counters in the state manager are still 0
Asserts that all error counters in the state manager are still 0
metrics
&MetricsRegistry
metrics
&MetricsRegistry