Expand description
Traits and type definitions for actors.
This module defines the Actor trait and its ActorContext companion, which together
describe how an actor is started, processes messages, and shuts down.
Structs§
- ActorId
- Actor index.
- Join
Handle - An owned permission to join on a task (await its termination).
Enums§
- Actor
State - State of an actor.
- Stopping
- Return value of
Actor::stopping.
Traits§
- Actor
- An actor.
- Actor
Context - The execution context of an actor.
- Remote
Addressable ipc - An actor which can be reached from other processes.
- Remote
Spawnable ipc - An actor type which can be created from another process.