pub struct HeartbeatCtl { /* private fields */ }
Expand description
Controller for the heartbeat task.
Allows owners to change the heartbeat timing at runtime and to explicitly request heartbeats. When dropped, cancels the heartbeat tasks.
Implementations§
Source§impl HeartbeatCtl
impl HeartbeatCtl
Auto Trait Implementations§
impl Freeze for HeartbeatCtl
impl !RefUnwindSafe for HeartbeatCtl
impl Send for HeartbeatCtl
impl Sync for HeartbeatCtl
impl Unpin for HeartbeatCtl
impl !UnwindSafe for HeartbeatCtl
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