pub struct CommittedChild<C, Occurrence>{ /* private fields */ }Expand description
One committed fresh child with its creator-local provenance and exact installed actor. The occurrence distinguishes equal child behaviors in distinct static positions; it is not an actor identity or runtime route.
Implementations§
Source§impl<C, Occurrence> CommittedChild<C, Occurrence>
impl<C, Occurrence> CommittedChild<C, Occurrence>
Sourcepub const fn new(
id: CreationId,
kind: CreationKind,
actor: EstablishedActor<C>,
) -> Self
pub const fn new( id: CreationId, kind: CreationKind, actor: EstablishedActor<C>, ) -> Self
Record an already committed fresh installation. This does not install an actor; only a successful interpreter installation may issue its runtime-owned actor value.
pub const fn id(&self) -> CreationId
pub const fn kind(&self) -> CreationKind
pub fn actor(&self) -> EstablishedActor<C>
pub fn into_parts(self) -> (CreationId, CreationKind, EstablishedActor<C>)
Auto Trait Implementations§
impl<C, Occurrence> Freeze for CommittedChild<C, Occurrence>
impl<C, Occurrence> RefUnwindSafe for CommittedChild<C, Occurrence>
impl<C, Occurrence> Send for CommittedChild<C, Occurrence>
impl<C, Occurrence> Sync for CommittedChild<C, Occurrence>
impl<C, Occurrence> Unpin for CommittedChild<C, Occurrence>
impl<C, Occurrence> UnsafeUnpin for CommittedChild<C, Occurrence>
impl<C, Occurrence> UnwindSafe for CommittedChild<C, Occurrence>
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