Skip to main content

snapshot

Function snapshot 

Source
pub(super) fn snapshot(
    scope: &ScopeKey,
    target: BreakerTarget,
) -> BreakerSnapshot
Expand description

Reads a breaker without touching it, for the dashboard. Not is_open, which clears an elapsed cooldown as a side effect.