pub struct WatchdogHold { /* private fields */ }Expand description
RAII hold on a Watchdog: releases (and restores the frozen remaining
time) on drop. Handed to tools boxed inside a
PatientGuard.
Trait Implementations§
Source§impl Drop for WatchdogHold
impl Drop for WatchdogHold
Auto Trait Implementations§
impl Freeze for WatchdogHold
impl RefUnwindSafe for WatchdogHold
impl Send for WatchdogHold
impl Sync for WatchdogHold
impl Unpin for WatchdogHold
impl UnsafeUnpin for WatchdogHold
impl UnwindSafe for WatchdogHold
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