pub struct HealthWatcher {
pub name: String,
}Expand description
Bridges a crate::aggregator::MetricsAggregator health report to the alert bus.
On each call to HealthWatcher::poll the watcher queries the aggregator’s
health report and fires an alert for any component that is Degraded or
Unhealthy.
Fields§
§name: StringImplementations§
Auto Trait Implementations§
impl Freeze for HealthWatcher
impl RefUnwindSafe for HealthWatcher
impl Send for HealthWatcher
impl Sync for HealthWatcher
impl Unpin for HealthWatcher
impl UnsafeUnpin for HealthWatcher
impl UnwindSafe for HealthWatcher
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