pub struct TerminateWorkflowContext<'a> {
pub runtime: &'a RuntimeHandle,
pub store: Arc<dyn EventStore>,
pub visibility_store: Arc<dyn VisibilityStore>,
pub registry: &'a Registry,
}Expand description
Dependencies required to drive a workflow to a terminal lifecycle state.
Fields§
§runtime: &'a RuntimeHandleRuntime boundary used to cancel live workflow processes.
store: Arc<dyn EventStore>Durable event store used to rebuild visibility projections.
visibility_store: Arc<dyn VisibilityStore>Visibility index updated after state-changing workflow events.
registry: &'a RegistryActive execution registry keyed by workflow/run identifiers.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TerminateWorkflowContext<'a>
impl<'a> !UnwindSafe for TerminateWorkflowContext<'a>
impl<'a> Freeze for TerminateWorkflowContext<'a>
impl<'a> Send for TerminateWorkflowContext<'a>
impl<'a> Sync for TerminateWorkflowContext<'a>
impl<'a> Unpin for TerminateWorkflowContext<'a>
impl<'a> UnsafeUnpin for TerminateWorkflowContext<'a>
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