Expand description
Supervision.
Structs§
- AllFor
OneStrategy - Builder for
AllForOne. - OneFor
OneStrategy - Builder for
OneForOne— the default. - Supervision
Error - Generic boxed-string error suitable for
SupervisorOfimpls that don’t yet have a typed error story (e.g. wrapping a panic payload). New code should prefer a domain-specific#[derive(thiserror::Error)]enum instead. - Supervisor
Strategy - Strategy applied to children of a supervising actor. Splits into
OneForOne(each child handled independently) andAllForOne(one child’s failure restarts all siblings).
Enums§
- Directive
- What the supervisor decides when a child fails.
- Strategy
Kind
Traits§
- Supervisor
Of - A parent actor’s typed supervision policy for a specific child
type
C. Opt-in only — see module docs.