pub struct ChildInput<Child, Source, Input, Occurrence>where
Child: Behavior,{
pub creation: CreationId,
pub input: Input,
/* private fields */
}Expand description
Private typed communication to one declared creator-local child role.
ChildDelivery addresses the child’s public protocol. ChildInput
instead selects one owner-defined member of the concrete child’s event
algebra through Source. This is the static boundary used for lifecycle
coordination between an owner and a composed child: it retains the exact
child behavior, occurrence, input, and ingress owner without exposing the
input through the child’s public protocol or performing a runtime lookup.
This is a derived Bombay communication form. Like ChildDelivery, its
creator-local route is interpreted only after same-action creations have
committed; constructing it performs no delivery.
Fields§
§creation: CreationIdCreator-local creation ID of the concrete child receiving the input.
input: InputComplete private input transferred to the child.
Implementations§
Source§impl<Child, Source, Input, Occurrence> ChildInput<Child, Source, Input, Occurrence>
impl<Child, Source, Input, Occurrence> ChildInput<Child, Source, Input, Occurrence>
Sourcepub const fn after(creation: CreationId, input: Input) -> Self
pub const fn after(creation: CreationId, input: Input) -> Self
Construct a private input for one exact creator-local child creation.