pub struct Heartbeat { /* private fields */ }Expand description
A running heartbeat: a thread printing one templated line per interval. Dropping the guard stops the pulse promptly (before drop returns), so no pulse can land after a tool’s final output.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Heartbeat
impl !UnwindSafe for Heartbeat
impl Freeze for Heartbeat
impl Send for Heartbeat
impl Sync for Heartbeat
impl Unpin for Heartbeat
impl UnsafeUnpin for Heartbeat
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