Skip to main content

Module mailbox

Module mailbox 

Source
Expand description

Mailbox configuration.

The mailbox holds queued messages for a single actor. Our implementation uses tokio::mpsc::UnboundedReceiver as the user queue and a separate unbounded queue for system messages; ActorCell polls with system priority.

Structs§

Mailbox
Marker type exposed publicly — the concrete storage lives inside ActorCell (tokio mpsc channels and an auxiliary priority heap when needed).
MailboxConfig

Enums§

MailboxKind
OverflowStrategy
What a bounded mailbox does when its capacity is reached. overflow policy.