pub struct Send {
pub node: String,
pub state: Value,
}Expand description
A single dynamic fan-out instruction: run node once with state as
its scoped input state.
Semantics for the executor: the scoped state is merged into the shared state before the node runs (so the node sees its item), and the node’s updates merge back through the normal channel reducers — fan-in requires multi-write reducers on the destination channels.
Fields§
§node: StringTarget node name (must resolve to a known node at execution time).
state: ValueScoped input state for this invocation (partial update applied to the shared state snapshot before the node runs).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Send
impl<'de> Deserialize<'de> for Send
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Send
Auto Trait Implementations§
impl Freeze for Send
impl RefUnwindSafe for Send
impl Send for Send
impl Sync for Send
impl Unpin for Send
impl UnsafeUnpin for Send
impl UnwindSafe for Send
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