pub struct TriggerExecutor;Expand description
Unified Trigger node executor
All Trigger types (Webhook, Manual, Schedule) use the same logic: Read trigger.payload from context and output it for downstream nodes
Trait Implementations§
Source§impl NodeExecutor for TriggerExecutor
impl NodeExecutor for TriggerExecutor
fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
node_type: &'life1 NodeType,
_config: &'life2 Value,
context: &'life3 mut ExecutionContext,
) -> Pin<Box<dyn Future<Output = Result<NodeOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for TriggerExecutor
impl RefUnwindSafe for TriggerExecutor
impl Send for TriggerExecutor
impl Sync for TriggerExecutor
impl Unpin for TriggerExecutor
impl UnwindSafe for TriggerExecutor
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