Skip to main content

NodeArg

Trait NodeArg 

Source
pub trait NodeArg:
    Send
    + Sync
    + DynClone
    + 'static { }
Expand description

A value that can flow into or out of a TaskNode.

Task inputs, outputs, transition payloads, and join payloads all use this bound so they can be moved safely across async task execution.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Send + Sync + Debug + 'static + Clone> NodeArg for T