Skip to main content

Module system_actors

Module system_actors 

Source
Expand description

Native ractor actor implementations for dactor system actors.

Each system actor (SpawnManager, WatchManager, CancelManager, NodeDirectory) is wrapped in a real ractor::Actor with its own mailbox. This enables:

  • Message-based access — system actor operations arrive as mailbox messages, processed single-threaded (no &mut self contention).
  • Transport integration — incoming WireEnvelope system messages can be routed directly to the actor’s mailbox.
  • Backpressure — mailbox depth limits prevent system actor overload.
  • Supervision — system actors can be supervised and restarted.

Structs§

CancelManagerActor
Native ractor actor wrapping CancelManager.
NodeDirectoryActor
Native ractor actor wrapping NodeDirectory.
SpawnManagerActor
Native ractor actor wrapping SpawnManager.
SpawnManagerState
Internal state for SpawnManagerActor.
WatchManagerActor
Native ractor actor wrapping WatchManager.

Enums§

CancelManagerMsg
Message enum for the CancelManager actor.
NodeDirectoryMsg
Message enum for the NodeDirectory actor.
SpawnManagerMsg
Message enum for the SpawnManager actor.
WatchManagerMsg
Message enum for the WatchManager actor.

Type Aliases§

FactoryFn
Factory function type for creating actors from serialized bytes.
SpawnResult
Result type for spawn requests.