pub enum PinHolder {
InFlightStart,
LiveRun {
workflow_id: WorkflowId,
run_id: RunId,
},
RecoverableRun {
workflow_id: WorkflowId,
},
RecordedChild {
child_workflow_id: WorkflowId,
recorded_by: WorkflowId,
},
}Expand description
What pins a workflow version against unload, naming the concrete holder.
Variants§
InFlightStart
A start resolved this version but has not yet registered a handle.
LiveRun
A live, non-terminal run executes on this version.
RecoverableRun
A recoverable instance in the store is pinned to this version.
Fields
§
workflow_id: WorkflowIdPinning workflow id.
RecordedChild
A recorded-but-never-started child is pinned to this version.
Fields
§
child_workflow_id: WorkflowIdChild workflow id pinned to the version.
§
recorded_by: WorkflowIdParent workflow whose history records the child.
Trait Implementations§
impl Eq for PinHolder
impl StructuralPartialEq for PinHolder
Auto Trait Implementations§
impl Freeze for PinHolder
impl RefUnwindSafe for PinHolder
impl Send for PinHolder
impl Sync for PinHolder
impl Unpin for PinHolder
impl UnsafeUnpin for PinHolder
impl UnwindSafe for PinHolder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.