pub struct KeyManagerStats {
pub attempts: u64,
pub refreshes: u64,
pub failures: u64,
pub timeouts: u64,
pub pages: u64,
pub revision_conflicts: u64,
pub pass_timeouts: u64,
pub page_budget_exceeded: u64,
pub counter_overflow: bool,
}Expand description
Cumulative key-refresh counters since the manager started.
Fields§
§attempts: u64Passes started.
refreshes: u64Passes that published a projection.
failures: u64Passes that published nothing, for any reason. Each keeps the
previous projection and marks the manager Degraded; a rising count
with flat refreshes means keys are aging toward max_age.
timeouts: u64Page calls abandoned at fetch_timeout: a slow source.
pages: u64Pages read, including pages discarded by a revision restart.
revision_conflicts: u64Times the credential set changed mid-pass, discarding what had been
read and restarting from the first page. Frequent conflicts on a busy
catalogue can exhaust pass_timeout or max_pages.
pass_timeouts: u64Passes abandoned because pass_timeout expired.
page_budget_exceeded: u64Passes abandoned because they used up max_pages page calls. Nonzero
means the catalogue has outgrown the page budget.
counter_overflow: boolA counter reached u64::MAX and stopped counting; values are lower
bounds.
Trait Implementations§
Source§impl Clone for KeyManagerStats
impl Clone for KeyManagerStats
impl Copy for KeyManagerStats
Source§impl Debug for KeyManagerStats
impl Debug for KeyManagerStats
Source§impl Default for KeyManagerStats
impl Default for KeyManagerStats
impl Eq for KeyManagerStats
Source§impl PartialEq for KeyManagerStats
impl PartialEq for KeyManagerStats
impl StructuralPartialEq for KeyManagerStats
Auto Trait Implementations§
impl Freeze for KeyManagerStats
impl RefUnwindSafe for KeyManagerStats
impl Send for KeyManagerStats
impl Sync for KeyManagerStats
impl Unpin for KeyManagerStats
impl UnsafeUnpin for KeyManagerStats
impl UnwindSafe for KeyManagerStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.