Skip to main content

record_failure

Function record_failure 

Source
pub fn record_failure(key: &ScopeKey, cooldown: Duration) -> bool
Expand description

Returns whether this failure opened the breaker.