pub struct Create<A, New>where
A: Address,{
pub nonce: <A as Address>::Nonce,
pub child: New,
pub kind: CreationKind<<A as Address>::Nonce>,
}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. The kind is Behavior-owned intent; crate::CreationResolved
is the corresponding committed runtime fact. Replacement at an existing
address is deliberately absent; stable identity is derived with a proxy
actor.
Fields§
§nonce: <A as Address>::Nonce§child: New§kind: CreationKind<<A as Address>::Nonce>Implementations§
Source§impl<A, New> Create<A, New>where
A: Address,
impl<A, New> Create<A, New>where
A: Address,
pub const fn new( nonce: <A as Address>::Nonce, child: New, kind: CreationKind<<A as Address>::Nonce>, ) -> Create<A, New>
pub const fn birth(nonce: <A as Address>::Nonce, child: New) -> Create<A, New>
pub const fn replacement_incarnation( nonce: <A as Address>::Nonce, replaces: <A as Address>::Nonce, child: New, ) -> Create<A, New>
Trait Implementations§
impl<A, New> Eq for Create<A, New>
impl<A, New> 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