Struct robots::actors::actor_cell::ActorCell [] [src]

pub struct ActorCell { /* fields omitted */ }

Main interface for interractiong with an Actor for the internals.

Methods

impl ActorCell
[src]

[src]

Creates a new ActorCell.

[src]

Puts a message with its sender in the Actor's mailbox and schedules the Actor.

[src]

Puts a system message with its sender in the Actor's system mailbox and schedules the Actor.

[src]

Makes the Actor handle an envelope in its mailbox.

Trait Implementations

impl Clone for ActorCell
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ActorContext for ActorCell
[src]

[src]

Returns an ActorRef to the Actor.

[src]

Spawns a child actor.

[src]

Sends a Message to the targeted ActorRef.

[src]

Creates a Future, this Future will send the message to the targetted ActorRef (and thus be the sender of the message). Read more

[src]

Completes a Future.

[src]

Tells a future to forward its result to another Actor. The Future is then dropped. Read more

[src]

Tells a future to forward its result to another Future that will be completed with this result. The Future is then dropped. Read more

[src]

Sends the Future a closure to apply on its value, the value will be updated with the output of the closure. Read more

[src]

Returns an Arc to the sender of the message being handled.

[src]

Sends a control message to the given actor.

[src]

Requests the targeted actor to stop.

[src]

Asks the father of the actor to terminate it.

[src]

Father of the actor.

[src]

Children of the actor.

[src]

Lifecycle monitoring, list of monitored actors.

[src]

Actors monitoring this actor.

[src]

Monitor an actor with the given handler.

[src]

Logical path to the actor, such as /user/foo/bar/baz

[src]

Future containing an Option with an ActtorRef to the Actor with the given logical path. Read more

[src]

Puts the actor in a state of failure with the given reason.