pub struct CooperativeWorkflowTaskPoll {
pub task: Option<CooperativeWorkflowTask>,
pub outcome: WorkerPollOutcome,
pub protocol_version: Option<String>,
pub server_capabilities: Option<Value>,
}Expand description
An explicit cooperative poll, including ordinary idle and stop outcomes.
Fields§
§task: Option<CooperativeWorkflowTask>§outcome: WorkerPollOutcome§protocol_version: Option<String>§server_capabilities: Option<Value>Trait Implementations§
Source§impl Clone for CooperativeWorkflowTaskPoll
impl Clone for CooperativeWorkflowTaskPoll
Auto Trait Implementations§
impl Forget for CooperativeWorkflowTaskPoll
impl Freeze for CooperativeWorkflowTaskPollwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<HistoryEvent>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<CancellationLineage>: Freeze,
*const ScopedCancellationContext is !null: Freeze,
PhantomData<ScopedCancellationContext>: Freeze,
*const ArcInner<Mutex<WorkflowState>> is !null: Freeze,
PhantomData<(Reference, String)>: Freeze,
impl Move for CooperativeWorkflowTaskPoll
impl RefUnwindSafe for CooperativeWorkflowTaskPollwhere
NonZero<i32>: RefUnwindSafe,
Utc: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
Mutex<WorkflowState>: RefUnwindSafe,
impl Send for CooperativeWorkflowTaskPollwhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
RawTable<(String, Value)>: Send,
NonZero<i32>: Send,
Utc: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
BoxRaw<ScopedCancellationContext>: Send,
Weak<Mutex<WorkflowState>>: Send,
RawTable<(Reference, String)>: Send,
impl Sync for CooperativeWorkflowTaskPollwhere
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
RawTable<(String, Value)>: Sync,
NonZero<i32>: Sync,
Utc: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
BoxRaw<ScopedCancellationContext>: Sync,
Weak<Mutex<WorkflowState>>: Sync,
RawTable<(Reference, String)>: Sync,
impl Unpin for CooperativeWorkflowTaskPollwhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
NonZero<i32>: Unpin,
Utc: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
Box<ScopedCancellationContext>: Unpin,
*const ArcInner<Mutex<WorkflowState>> is !null: Unpin,
impl UnsafeUnpin for CooperativeWorkflowTaskPollwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<HistoryEvent>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<CancellationLineage>: UnsafeUnpin,
*const ScopedCancellationContext is !null: UnsafeUnpin,
PhantomData<ScopedCancellationContext>: UnsafeUnpin,
*const ArcInner<Mutex<WorkflowState>> is !null: UnsafeUnpin,
PhantomData<(Reference, String)>: UnsafeUnpin,
impl UnwindSafe for CooperativeWorkflowTaskPollwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BoxRaw<ScopedCancellationContext>: UnwindSafe,
NonNull<ArcInner<Mutex<WorkflowState>>>: UnwindSafe,
HashMap<Reference, String>: UnwindSafe,
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