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 !RefUnwindSafe for HeartbeatCtl
impl !UnwindSafe for HeartbeatCtl
impl Freeze for HeartbeatCtl
impl Send for HeartbeatCtl
impl Sync for HeartbeatCtl
impl Unpin for HeartbeatCtl
impl UnsafeUnpin 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