pub struct KeyManagerReport {
pub health: KeyManagerHealth,
pub stats: KeyManagerStats,
pub ready: bool,
pub projected_keys: usize,
pub revision: Option<u64>,
pub fetched_at: Option<Timestamp>,
pub usable_until: Option<Timestamp>,
}Expand description
A reading of the key manager for readiness and metrics, from
KeyManagerMonitor::report. Carries no customer labels.
Fields§
§health: KeyManagerHealthThe task’s state; Failed when it has exited without a requested
stop.
stats: KeyManagerStatsCumulative refresh counters.
ready: boolFresh feed and live task; an authoritative empty set is still fresh.
projected_keys: usizeEntries in the installed projection, not a count of usable customers.
revision: Option<u64>The key source revision of the installed projection, or None
before the first success. Never moves backward.
fetched_at: Option<Timestamp>When the pass that built the installed projection started.
usable_until: Option<Timestamp>When the installed projection stops verifying: fetched_at + max_age.
Readiness is false from this instant unless a newer pass succeeds.
Trait Implementations§
Source§impl Clone for KeyManagerReport
impl Clone for KeyManagerReport
impl Copy for KeyManagerReport
Auto Trait Implementations§
impl Freeze for KeyManagerReport
impl RefUnwindSafe for KeyManagerReport
impl Send for KeyManagerReport
impl Sync for KeyManagerReport
impl Unpin for KeyManagerReport
impl UnsafeUnpin for KeyManagerReport
impl UnwindSafe for KeyManagerReport
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
Mutably borrows from an owned value. Read more