pub struct HealthMonitorConfig {
pub interval_secs: u64,
pub max_failures: u32,
pub max_restarts: u32,
pub healthy_reset_secs: u64,
}Expand description
Configuration for adapter health monitor
Fields§
§interval_secs: u64How often to check adapter health (seconds)
max_failures: u32Number of consecutive failures before restart
max_restarts: u32Maximum number of restart attempts
healthy_reset_secs: u64How long an adapter must be healthy before resetting restart count (seconds)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HealthMonitorConfig
impl RefUnwindSafe for HealthMonitorConfig
impl Send for HealthMonitorConfig
impl Sync for HealthMonitorConfig
impl Unpin for HealthMonitorConfig
impl UnsafeUnpin for HealthMonitorConfig
impl UnwindSafe for HealthMonitorConfig
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