pub struct RetireInvocation<'a> {
pub loop_id: &'a WorkflowId,
pub runtime: &'a Arc<RuntimeHandle>,
pub catalog: &'a WorkflowCatalog,
pub registry: &'a Arc<Registry>,
pub store: &'a Arc<dyn EventStore>,
pub visibility_store: &'a Arc<dyn VisibilityStore>,
}Expand description
Everything invoking one retire body needs.
Fields§
§loop_id: &'a WorkflowIdThe loop being retired.
runtime: &'a Arc<RuntimeHandle>The engine’s runtime handle.
catalog: &'a WorkflowCatalogThe catalog resolving the loop’s deployed module.
registry: &'a Arc<Registry>The registry the retire process is published into.
store: &'a Arc<dyn EventStore>Event store, for the loop’s one-shot recorders.
visibility_store: &'a Arc<dyn VisibilityStore>Visibility projection store, so the retirement generation’s start projects exactly as any other generation’s does.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RetireInvocation<'a>
impl<'a> !UnwindSafe for RetireInvocation<'a>
impl<'a> Freeze for RetireInvocation<'a>
impl<'a> Send for RetireInvocation<'a>
impl<'a> Sync for RetireInvocation<'a>
impl<'a> Unpin for RetireInvocation<'a>
impl<'a> UnsafeUnpin for RetireInvocation<'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