pub struct HealthChecker { /* private fields */ }Expand description
Health check system
Implementations§
Source§impl HealthChecker
impl HealthChecker
pub fn new(metrics: Arc<MetricsCollector>) -> Self
pub const fn with_thresholds(self, thresholds: HealthThresholds) -> Self
pub fn check_health(&self) -> HealthReport
Auto Trait Implementations§
impl Freeze for HealthChecker
impl !RefUnwindSafe for HealthChecker
impl Send for HealthChecker
impl Sync for HealthChecker
impl Unpin for HealthChecker
impl UnsafeUnpin for HealthChecker
impl !UnwindSafe for HealthChecker
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