pub struct IterationCloseContext {
pub workloop_store: Arc<dyn WorkloopStore>,
pub service: Arc<WorkloopService>,
pub store: Arc<dyn EventStore>,
pub visibility_store: Arc<dyn VisibilityStore>,
pub registry: Arc<Registry>,
}Expand description
The engine components one iteration close needs.
Held by both Engine (through its workloop runtime) and the NIF bridge,
so compiled workflow code reaches exactly the engine-side close the API
verb reaches.
Fields§
§workloop_store: Arc<dyn WorkloopStore>Registration and invariant-record store.
service: Arc<WorkloopService>The cadence service, for health accounting.
store: Arc<dyn EventStore>Event store backing the loop’s history.
visibility_store: Arc<dyn VisibilityStore>Visibility projection store.
registry: Arc<Registry>Registry holding the closing generation’s live handle, if resident.
Trait Implementations§
Source§impl Clone for IterationCloseContext
impl Clone for IterationCloseContext
Source§fn clone(&self) -> IterationCloseContext
fn clone(&self) -> IterationCloseContext
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 !RefUnwindSafe for IterationCloseContext
impl !UnwindSafe for IterationCloseContext
impl Freeze for IterationCloseContext
impl Send for IterationCloseContext
impl Sync for IterationCloseContext
impl Unpin for IterationCloseContext
impl UnsafeUnpin for IterationCloseContext
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