pub struct WorkflowRunCancel(/* private fields */);Expand description
Cooperative cancel signal shared by the run future (guard side) and the VM thread. The atomic flag feeds the QuickJS interrupt handler (sync, called mid-bytecode); the watch channel wakes host futures parked on driver completions.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowRunCancel
impl Clone for WorkflowRunCancel
Source§fn clone(&self) -> WorkflowRunCancel
fn clone(&self) -> WorkflowRunCancel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorkflowRunCancel
impl RefUnwindSafe for WorkflowRunCancel
impl Send for WorkflowRunCancel
impl Sync for WorkflowRunCancel
impl Unpin for WorkflowRunCancel
impl UnsafeUnpin for WorkflowRunCancel
impl UnwindSafe for WorkflowRunCancel
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