pub struct PendingAsync {
pub op_ref: OpRef,
pub exec_id: ExecId,
pub output_sites: Vec<NodeSiteId>,
pub deadline_ns: Option<u64>,
}Expand description
Bookkeeping for an Op suspended on a CommandId per
docs/ENGINE.md §9.1. Stored in Engine.pending_async,
keyed by CommandId.
Fields§
§op_ref: OpRefThe Op that’s suspended.
exec_id: ExecIdThe execution this suspension belongs to.
output_sites: Vec<NodeSiteId>Output sites the Op declared. Populated when the CommandId completes with values.
deadline_ns: Option<u64>Absolute deadline (scheduler.now_ns() clock) past which
the suspension expires. None means “no engine-side
deadline” - the Op runs until the transport reports
completion or failure. Phase 5 of the poll cycle scans
pending suspensions each tick and fails any whose deadline
has passed via the existing OpFailed path.
Auto Trait Implementations§
impl Freeze for PendingAsync
impl RefUnwindSafe for PendingAsync
impl Send for PendingAsync
impl Sync for PendingAsync
impl Unpin for PendingAsync
impl UnsafeUnpin for PendingAsync
impl UnwindSafe for PendingAsync
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