Module core

Source

Structs§

ChildBackoffFn
A function pointer for computing child-level backoff delays before re-spawning a child.
ChildFailureState
Internal tracking of a child’s failure count and the last time it failed.
ChildSpec
Defines how to spawn and manage a single child actor.
RestartLog
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_linked here.

Enums§

ExitReason
Restart
Defines how a child actor is restarted after it exits.
SupervisorError
Possible errors from the supervisor’s logic.

Traits§

CoreSupervisorOptions
SupervisorCore

Type Aliases§

SpawnFuture
The future returned by a SpawnFn.