pub struct Create<A: Address, New> {
pub nonce: A::Nonce,
pub child: New,
pub kind: CreationKind,
}Expand description
A staged request to establish a fresh child at a creator-local nonce.
The nonce is a routing and correlation key, not an actor identity or proof
of freshness. Creation and its CreationKind become runtime facts only
after an interpreter successfully installs the fresh actor and commits the
child binding. Replacement at an existing address is deliberately absent;
stable identity is derived with a proxy actor.
Fields§
§nonce: A::Nonce§child: New§kind: CreationKindImplementations§
Trait Implementations§
impl<A: Eq + Address, New: Eq> Eq for Create<A, New>
impl<A: PartialEq + Address, New: PartialEq> StructuralPartialEq for Create<A, New>
Auto Trait Implementations§
impl<A, New> Freeze for Create<A, New>
impl<A, New> RefUnwindSafe for Create<A, New>
impl<A, New> Send for Create<A, New>
impl<A, New> Sync for Create<A, New>
impl<A, New> Unpin for Create<A, New>
impl<A, New> UnsafeUnpin for Create<A, New>
impl<A, New> UnwindSafe for Create<A, New>
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