pub struct FlowHandler<S: ContextStore> { /* private fields */ }Expand description
The top-level handler registered with ActionQueue.
Routes execution based on the TaskType discriminator in the payload.
Implementations§
Source§impl<S: ContextStore> FlowHandler<S>
impl<S: ContextStore> FlowHandler<S>
pub fn new( registry: Arc<ConnectorRegistry>, store: Arc<S>, metrics: Arc<dyn MetricsRecorder>, ) -> Self
Trait Implementations§
Source§impl<S: ContextStore + 'static> ExecutorHandler for FlowHandler<S>
impl<S: ContextStore + 'static> ExecutorHandler for FlowHandler<S>
Source§fn execute(&self, ctx: ExecutorContext) -> HandlerOutput
fn execute(&self, ctx: ExecutorContext) -> HandlerOutput
Executes the attempt with the provided context and returns the outcome. Read more
Auto Trait Implementations§
impl<S> Freeze for FlowHandler<S>
impl<S> !RefUnwindSafe for FlowHandler<S>
impl<S> Send for FlowHandler<S>
impl<S> Sync for FlowHandler<S>
impl<S> Unpin for FlowHandler<S>
impl<S> UnsafeUnpin for FlowHandler<S>
impl<S> !UnwindSafe for FlowHandler<S>
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