pub struct FanIn {
pub kinds: Vec<Kind>,
}Expand description
Several upstreams producing INDEPENDENT outputs — M×N, N ≤ M.
The body stays a struct, because the payload is uniform: what differs between two of this node’s messages is where it came from, not what it holds. So the variation lives entirely in the LINEAGE, which becomes a choice among the upstreams rather than a path through one.
Fields§
§kinds: Vec<Kind>One entry per upstream, in the order they were written — which is the order the lineage type’s variants take, so a declaration read top to bottom is the type read top to bottom.
Trait Implementations§
Auto Trait Implementations§
impl !Send for FanIn
impl !Sync for FanIn
impl Freeze for FanIn
impl RefUnwindSafe for FanIn
impl Unpin for FanIn
impl UnsafeUnpin for FanIn
impl UnwindSafe for FanIn
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