pub struct Children<A: Address, Product = NoChildren> { /* private fields */ }Expand description
A pure, ordered heterogeneous product of staged direct-child creations.
This value owns no mailbox, address, runtime actor, or lifecycle. Explicit
creator-local nonces remain caller policy. Conversion rejects duplicates
within this product before producing any Actions value; the interpreter
must still reject collisions with already established children.
Implementations§
Source§impl<A: Address> Children<A, NoChildren>
impl<A: Address> Children<A, NoChildren>
Source§impl<A: Address, Product> Children<A, Product>
impl<A: Address, Product> Children<A, Product>
Source§impl<A, Product> Children<A, Product>where
A: Address,
Product: ChildProduct<A>,
impl<A, Product> Children<A, Product>where
A: Address,
Product: ChildProduct<A>,
Sourcepub fn into_creates(
self,
) -> Result<Vec<Create<A, Product::Choice>>, ChildrenError<A::Nonce>>
pub fn into_creates( self, ) -> Result<Vec<Create<A, Product::Choice>>, ChildrenError<A::Nonce>>
Validate the shared nonce domain and produce ordered creation requests.
§Errors
Returns ChildrenError::DuplicateNonce without returning a partial
creation vector when any two declarations in this product share a
nonce. Existing child-namespace collisions remain interpreter-owned
creation rejections.
Trait Implementations§
Auto Trait Implementations§
impl<A, Product> Freeze for Children<A, Product>where
Product: Freeze,
impl<A, Product> RefUnwindSafe for Children<A, Product>where
Product: RefUnwindSafe,
impl<A, Product> Send for Children<A, Product>where
Product: Send,
impl<A, Product> Sync for Children<A, Product>where
Product: Sync,
impl<A, Product> Unpin for Children<A, Product>where
Product: Unpin,
impl<A, Product> UnsafeUnpin for Children<A, Product>where
Product: UnsafeUnpin,
impl<A, Product> UnwindSafe for Children<A, Product>where
Product: UnwindSafe,
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