Struct riker::actor::ActorCell[][src]

pub struct ActorCell<Msg: Message> { /* fields omitted */ }

Methods

impl<Msg> ActorCell<Msg> where
    Msg: Message
[src]

Constructs a new ActorCell

Trait Implementations

impl<Msg: Clone + Message> Clone for ActorCell<Msg>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Msg> CellInternal for ActorCell<Msg> where
    Msg: Message
[src]

Return the system's dead letters reference.

Return the actor's persistence configuration.

Returns true if the actor is currently in a state of persisting.

Sets the persisting status of the actor. Read more

Invoked when an actor receives an Identify message. Read more

Adds a child under this actor.

Send an ActorCmd::Stop to the given actor.

Invoked when the actor receives a command. Read more

Terminate the actor associated with this ActorCell. Read more

Restart the actor associated with this ActorCell Read more

Invoked when a child actor is terminated. Read more

Invoked when a child actor fails (panics). Read more

Invoked when the supervision strategy restarts a child actor.

Invoked when the supervision strategy escalates an actor's failure.

Invoked to query an actor's events during actor start. Read more

Invoked during actor start to complete actor initialization. Read more

impl<Msg> ExecutionContext for ActorCell<Msg> where
    Msg: Message
[src]

impl<Msg> TmpActorRefFactory for ActorCell<Msg> where
    Msg: Message
[src]

impl<Msg> Debug for ActorCell<Msg> where
    Msg: Message
[src]

Formats the value using the given formatter. Read more

impl<Msg> CellPublic for ActorCell<Msg> where
    Msg: Message
[src]

Returns the actor's ActorRef

Returns the actor's parent ActorRef

Important traits for Box<R>

Returns an iterator for the actor's children references

impl<'a, Msg> From<&'a ActorCell<Msg>> for Context<Msg> where
    Msg: Message
[src]

Performs the conversion.

Auto Trait Implementations

impl<Msg> Send for ActorCell<Msg>

impl<Msg> Sync for ActorCell<Msg>