Skip to main content

inc_cb_rejected

Function inc_cb_rejected 

Source
pub fn inc_cb_rejected()
Expand description

Increment the circuit-breaker rejected-requests counter.

Call when a request is rejected because the circuit breaker is open.

No-op if metrics have not been initialised.

ยงPanics

This function never panics.