pub struct OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: Workflow<C>,
C: Context + Merge + Default,
Q: WorkQueue<C, W::WorkItem> + Send + Sync,
RIS: RunInfoStore + Send + Sync,
MS: MetricsStore + Send + Sync,
ES: ErrorStore + Send + Sync,
LS: LivenessStore + Send + Sync,
WIS: WorkItemStateStore<W::WorkItem> + Send + Sync,
CS: ContextStore<C> + Send + Sync,{ /* private fields */ }Implementations§
Source§impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: Workflow<C>,
C: Context + Merge + Default,
Q: WorkQueue<C, W::WorkItem> + Send + Sync,
RIS: RunInfoStore + Send + Sync,
MS: MetricsStore + Send + Sync,
ES: ErrorStore + Send + Sync,
LS: LivenessStore + Send + Sync,
WIS: WorkItemStateStore<W::WorkItem> + Send + Sync,
CS: ContextStore<C> + Send + Sync,
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: Workflow<C>,
C: Context + Merge + Default,
Q: WorkQueue<C, W::WorkItem> + Send + Sync,
RIS: RunInfoStore + Send + Sync,
MS: MetricsStore + Send + Sync,
ES: ErrorStore + Send + Sync,
LS: LivenessStore + Send + Sync,
WIS: WorkItemStateStore<W::WorkItem> + Send + Sync,
CS: ContextStore<C> + Send + Sync,
pub fn new() -> Self
pub fn workflow(self, workflow: W) -> Self
pub fn queue(self, queue: Q) -> Self
pub fn run_info_store(self, ris: RIS) -> Self
pub fn metrics_store(self, ms: MS) -> Self
pub fn error_store(self, es: ES) -> Self
pub fn liveness_store(self, ls: LS) -> Self
pub fn work_item_state_store(self, wiss: WIS) -> Self
pub fn context_store(self, context_store: CS) -> Self
pub fn build(
self,
) -> Result<DistributedOrchestrator<W, C, Q, RIS, MS, ES, LS, WIS, CS>, String>where
W: Workflow<C>,
C: Context + Merge + Default,
Q: WorkQueue<C, W::WorkItem> + Send + Sync,
RIS: RunInfoStore + Send + Sync,
MS: MetricsStore + Send + Sync,
ES: ErrorStore + Send + Sync,
LS: LivenessStore + Send + Sync,
WIS: WorkItemStateStore<W::WorkItem> + Send + Sync,
CS: ContextStore<C> + Send + Sync,
Trait Implementations§
Source§impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> Default for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: Workflow<C>,
C: Context + Merge + Default,
Q: WorkQueue<C, W::WorkItem> + Send + Sync,
RIS: RunInfoStore + Send + Sync,
MS: MetricsStore + Send + Sync,
ES: ErrorStore + Send + Sync,
LS: LivenessStore + Send + Sync,
WIS: WorkItemStateStore<W::WorkItem> + Send + Sync,
CS: ContextStore<C> + Send + Sync,
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> Default for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: Workflow<C>,
C: Context + Merge + Default,
Q: WorkQueue<C, W::WorkItem> + Send + Sync,
RIS: RunInfoStore + Send + Sync,
MS: MetricsStore + Send + Sync,
ES: ErrorStore + Send + Sync,
LS: LivenessStore + Send + Sync,
WIS: WorkItemStateStore<W::WorkItem> + Send + Sync,
CS: ContextStore<C> + Send + Sync,
Auto Trait Implementations§
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> Freeze for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> RefUnwindSafe for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: RefUnwindSafe,
Q: RefUnwindSafe,
RIS: RefUnwindSafe,
MS: RefUnwindSafe,
ES: RefUnwindSafe,
LS: RefUnwindSafe,
WIS: RefUnwindSafe,
CS: RefUnwindSafe,
C: RefUnwindSafe,
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> Send for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> Sync for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> Unpin for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>
impl<W, C, Q, RIS, MS, ES, LS, WIS, CS> UnwindSafe for OrchestratorBuilder<W, C, Q, RIS, MS, ES, LS, WIS, CS>where
W: UnwindSafe,
Q: UnwindSafe,
RIS: UnwindSafe,
MS: UnwindSafe,
ES: UnwindSafe,
LS: UnwindSafe,
WIS: UnwindSafe,
CS: UnwindSafe,
C: UnwindSafe,
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