pub fn established_child<Parent, Role>(
report: EstablishedCreation<RoleChild<Parent, Role>, Role>,
) -> Result<EstablishedChild<RoleChild<Parent, Role>, Role>, CreationRejection>where
Parent: Behavior,
Role: ChildRole<Parent>,
BehaviorAddr<RoleChild<Parent, Role>>: EndpointAddress,Expand description
Strengthen one successful named-child creation report without losing either of its routing capabilities.
Role must be the occurrence declared by Parent, so the returned exact
actor proves the concrete child behavior while the returned ID retains
creator-local correlation. This is an Actors-level
construction over existing Behavior capabilities, not another creation
operation or an allocation shortcut.
§Errors
Returns the creation’s typed behavior::CreationRejection and produces
no actor capability when installation did not commit.