pub struct WatchdogConfig {
pub enabled: bool,
pub check_interval_ms: u64,
pub stall_timeout_ms: u64,
}Expand description
Watchdog policy supplied by the installation.
Fields§
§enabled: boolWhether watchdog health affects Runtime health.
check_interval_ms: u64Independent watchdog evaluation interval.
stall_timeout_ms: u64Maximum interval without a completed reconciliation.
Implementations§
Source§impl WatchdogConfig
impl WatchdogConfig
Sourcepub fn validate(self) -> SupervisorResult<Self>
pub fn validate(self) -> SupervisorResult<Self>
Validates safe watchdog bounds.
Trait Implementations§
Source§impl Clone for WatchdogConfig
impl Clone for WatchdogConfig
Source§fn clone(&self) -> WatchdogConfig
fn clone(&self) -> WatchdogConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WatchdogConfig
Source§impl Debug for WatchdogConfig
impl Debug for WatchdogConfig
Source§impl Default for WatchdogConfig
impl Default for WatchdogConfig
impl Eq for WatchdogConfig
Source§impl PartialEq for WatchdogConfig
impl PartialEq for WatchdogConfig
impl StructuralPartialEq for WatchdogConfig
Auto Trait Implementations§
impl Freeze for WatchdogConfig
impl RefUnwindSafe for WatchdogConfig
impl Send for WatchdogConfig
impl Sync for WatchdogConfig
impl Unpin for WatchdogConfig
impl UnsafeUnpin for WatchdogConfig
impl UnwindSafe for WatchdogConfig
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