pub struct HealthMonitor { /* private fields */ }Expand description
Health monitor
Implementations§
Source§impl HealthMonitor
impl HealthMonitor
Sourcepub fn new(collector: Arc<TelemetryCollector>) -> Self
pub fn new(collector: Arc<TelemetryCollector>) -> Self
Create a new health monitor
Sourcepub async fn get_status(&self) -> HealthStatus
pub async fn get_status(&self) -> HealthStatus
Get health status
Auto Trait Implementations§
impl Freeze for HealthMonitor
impl !RefUnwindSafe for HealthMonitor
impl Send for HealthMonitor
impl Sync for HealthMonitor
impl Unpin for HealthMonitor
impl !UnwindSafe for HealthMonitor
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