pub struct PassthroughNode { /* private fields */ }Expand description
Simple pass-through node for testing.
Implementations§
Trait Implementations§
Source§impl WorkflowNode for PassthroughNode
impl WorkflowNode for PassthroughNode
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
ctx: NodeContext,
) -> Pin<Box<dyn Future<Output = Result<NodeOutput, WorkflowError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
ctx: NodeContext,
) -> Pin<Box<dyn Future<Output = Result<NodeOutput, WorkflowError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute the node.
Source§fn input_schema(&self) -> Option<&Value>
fn input_schema(&self) -> Option<&Value>
Input schema (optional).
Source§fn output_schema(&self) -> Option<&Value>
fn output_schema(&self) -> Option<&Value>
Output schema (optional).
Auto Trait Implementations§
impl Freeze for PassthroughNode
impl RefUnwindSafe for PassthroughNode
impl Send for PassthroughNode
impl Sync for PassthroughNode
impl Unpin for PassthroughNode
impl UnwindSafe for PassthroughNode
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