pub struct ContextParts<A>where
    A: Actor,
    <A as Actor>::Context: AsyncContext<A>,
{ /* private fields */ }

Implementations

Create new ContextParts instance

Initiate stop process for actor execution

Actor could prevent stopping by returning false from Actor::stopping() method.

Terminate actor execution

Actor execution state

Is context waiting for future completion

Handle of the running future

Spawn new future to this context.

Spawn new future to this context and wait future completion.

During wait period actor does not receive any messages.

Cancel previously scheduled future.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.