Module message

Module message 

Source
Expand description

Inter-actor message types.

All communication between actors flows through typed Message values delivered via async [tokio::sync::mpsc] channels (the mailbox).

This mirrors the Python dict-based message protocol but adds compile-time type safety via MessageType.

Structs§

Message
A message envelope routed between actors.

Enums§

ActorCommand
Commands that can be sent to any actor.
AlertSeverity
Severity levels for alert messages.
MessageType
Discriminated union of all message payloads that actors exchange.