pub trait Node<S: State>: Send + Sync {
// Required method
fn process<'life0, 'async_trait>(
&'life0 self,
state: S,
) -> Pin<Box<dyn Future<Output = Result<S, SynapseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
A node in the graph that processes state.