pub struct HeartbeatDriverArgs {
pub session: SessionManager,
pub policy: HeartbeatPolicy,
pub rng: StdRng,
pub progress_rx: ProgressReceiver,
pub state: Arc<Mutex<ControlState>>,
pub token_ref: TokenRef,
pub runner_cancel: CancellationToken,
pub shutdown: CancellationToken,
pub task_id: Uuid,
}Fields§
§session: SessionManager§policy: HeartbeatPolicy§rng: StdRng§progress_rx: ProgressReceiver§state: Arc<Mutex<ControlState>>§token_ref: TokenRef§runner_cancel: CancellationToken§shutdown: CancellationToken§task_id: UuidAuto Trait Implementations§
impl Freeze for HeartbeatDriverArgs
impl !RefUnwindSafe for HeartbeatDriverArgs
impl Send for HeartbeatDriverArgs
impl Sync for HeartbeatDriverArgs
impl Unpin for HeartbeatDriverArgs
impl UnsafeUnpin for HeartbeatDriverArgs
impl !UnwindSafe for HeartbeatDriverArgs
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