pub struct KeyManagerMonitor { /* private fields */ }Expand description
Cloneable, read-only view of a KeyManager, for readiness and metrics
state. Detects task exit on its own.
Implementations§
Source§impl KeyManagerMonitor
impl KeyManagerMonitor
Sourcepub fn report(&self, now: Timestamp) -> KeyManagerReport
pub fn report(&self, now: Timestamp) -> KeyManagerReport
The manager’s state at now. ready requires a running task and an
installed projection still inside its usable_until. Combine it with
the runtime’s readiness before exposing authenticated traffic.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyManagerMonitor
impl RefUnwindSafe for KeyManagerMonitor
impl Send for KeyManagerMonitor
impl Sync for KeyManagerMonitor
impl Unpin for KeyManagerMonitor
impl UnsafeUnpin for KeyManagerMonitor
impl UnwindSafe for KeyManagerMonitor
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