Structs§
- Child
Backoff Fn - A function pointer for computing child-level backoff delays before re-spawning a child.
- Child
Failure State - Internal tracking of a child’s failure count and the last time it failed.
- Child
Spec - Defines how to spawn and manage a single child actor.
- Restart
Log - Each time we restart a child, we store a record for meltdown counting:
(child_id, when). - SpawnFn
- User-provided closure to spawn a child. You typically call
Supervisor::spawn_linkedhere.
Enums§
- Exit
Reason - Restart
- Defines how a child actor is restarted after it exits.
- Supervisor
Error - Possible errors from the supervisor’s logic.
Traits§
Type Aliases§
- Spawn
Future - The future returned by a
SpawnFn.