Module theatre::mailbox[][src]

Structures related to the actor mailbox

Structs

Addr

An Address to an Actor. Actor addresses allow for messages to be sent to actors.

Recipient

An address parametrized of the message type instead of an Actor type. This allows for collections of actors that may receive a particular message.

WeakAddr

A WeakAddr does not prevent the address from stopping when all Addr’s are dropped. WeakAddr can be upgraded to a Strong Addr by calling upgrade().

Enums

MailboxError

Traits

Message

A Message is the interface to data that can be sent between actors. Messages and their return types must be Send so that the actors can be executed concurrently on separate threads.