Skip to main content

CommittedChild

Struct CommittedChild 

Source
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>

Source

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.

Source

pub const fn id(&self) -> CreationId

Source

pub const fn kind(&self) -> CreationKind

Source

pub fn actor(&self) -> EstablishedActor<C>

Source

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.