pub struct EngineContext {
pub process_store: Option<Arc<dyn ProcessInstanceStore>>,
pub token_store: Option<Arc<dyn TokenStore>>,
pub process_def_store: Option<Arc<dyn ProcessDefinitionStore>>,
pub parallel_join_repo: Option<Arc<dyn ParallelJoinRepo>>,
pub timer_store: Option<Arc<dyn TimerStore>>,
pub compensation_repo: Option<Arc<dyn CompensationRecordRepo>>,
pub outbox_repo: Option<Arc<dyn OutboxRepo>>,
pub external_task_store: Option<Arc<dyn ExternalTaskStore>>,
pub history_repo: Option<Arc<dyn HistoryRepo>>,
pub tenant_id: Option<String>,
}Expand description
Design: handler.md §6 — execution environment for handlers (stores from storage).
Fields§
§process_store: Option<Arc<dyn ProcessInstanceStore>>§token_store: Option<Arc<dyn TokenStore>>§process_def_store: Option<Arc<dyn ProcessDefinitionStore>>§parallel_join_repo: Option<Arc<dyn ParallelJoinRepo>>§timer_store: Option<Arc<dyn TimerStore>>§compensation_repo: Option<Arc<dyn CompensationRecordRepo>>§outbox_repo: Option<Arc<dyn OutboxRepo>>§external_task_store: Option<Arc<dyn ExternalTaskStore>>§history_repo: Option<Arc<dyn HistoryRepo>>§tenant_id: Option<String>Trait Implementations§
Source§impl Default for EngineContext
impl Default for EngineContext
Source§fn default() -> EngineContext
fn default() -> EngineContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EngineContext
impl !UnwindSafe for EngineContext
impl Freeze for EngineContext
impl Send for EngineContext
impl Sync for EngineContext
impl Unpin for EngineContext
impl UnsafeUnpin for EngineContext
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