pub struct FailsafeMonitor { /* private fields */ }Implementations§
Source§impl FailsafeMonitor
impl FailsafeMonitor
pub fn new(timeout: f32) -> Self
Sourcepub fn check(&self, current_time: f32) -> FailsafeLevel
pub fn check(&self, current_time: f32) -> FailsafeLevel
Evaluates system health based on current time.
pub fn feed_heartbeat(&mut self, current_time: f32)
Auto Trait Implementations§
impl Freeze for FailsafeMonitor
impl RefUnwindSafe for FailsafeMonitor
impl Send for FailsafeMonitor
impl Sync for FailsafeMonitor
impl Unpin for FailsafeMonitor
impl UnsafeUnpin for FailsafeMonitor
impl UnwindSafe for FailsafeMonitor
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