Skip to main content

Module mailbox

Module mailbox 

Source
Available on crate feature actor only.
Expand description

Typed mailboxes, calls, brokers, and delivery errors.

Structs§

Broker
A send-only capability for messages of type M.
Call
A request together with the channel used to answer it.
Mailbox
A typed reference to an actor in a cluster.
Reply
A port used to send a reply to a Call.

Enums§

CallError
A call that could not be delivered or answered.
DeliverError
A message rejected by a mailbox or broker.

Constants§

DEFAULT_MAILBOX_CAPACITY
Default number of messages reserved for each mailbox.