Skip to main contentCrate palladium_actor
Source - ActorContext
- Runtime handle provided to each lifecycle hook.
- ActorPath
- A hierarchical actor path, e.g.
/engine:abc/user/orders/processor-1. - Addr
- A typed, unforgeable capability handle granting the right to send messages
of type
M to a specific actor. - AddrHash
- 128-bit routing identifier for an actor.
- AnyAddr
- A type-erased capability handle for routing pre-built envelopes without
knowing the message type. Used internally by the transport and routing
layers.
- ChildSpec
- Specification provided at spawn time that governs a child actor’s lifecycle.
- EngineId
- Envelope
- Fixed-size
#[repr(C)] message header used for routing and wire framing. - NamespacePolicy
- Controls which path prefixes an actor may hold addresses into.
- WeakAddr
- A non-owning capability reference. Does not extend the target actor’s
lifetime.
upgrade() returns None after the actor stops.
- ActorError
- AskError
- DeterminismLevel
- Controls the level of determinism enforcement for WASM execution.
- MessagePayload
- The payload carried alongside an
Envelope. - PathParseError
- PayloadError
- RestartPolicy
- Governs when a supervisor restarts a child after it exits.
- SendError
- ShutdownPolicy
- Governs how a supervisor stops a child.
- StopReason
- The reason supplied to
Actor::on_stop.
- Actor
- The core actor trait.
- Interval
- A periodic timer that can be polled or awaited.
- Message
- A typed message that can be sent to an actor.
- Reactor
- Minimal abstraction over the async runtime, provided to actors.
- RuntimeBridge
- Bridge between
ActorContext methods and the runtime event loop. - SpawnHandle
- Handle to a spawned task.
- fnv1a_64
- FNV-1a 64-bit hash. Stable across builds for a fixed input string, making
it suitable for generating compile-time
TYPE_TAG constants.
- AskFn
- AskFuture
- CachedSendFn
- A cheaply cloneable, type-erased send function that delivers directly to a
cached
MailboxSender, bypassing the global TransportRegistry. - RouteFn
- SendFn