Expand description
Supervision.
Structs§
- AllFor
OneStrategy - Builder for
AllForOne. - OneFor
OneStrategy - Builder for
OneForOne— the default. - Panic
Payload - Structured panic payload carried via
std::panic::panic_anyso that language-binding actors (Python, etc.) can attach typed failure metadata that the decider can inspect by class name. Theactor_cellpanic-catch path renders this as"<module>.<qualname>: <repr>"for the legacyDecider: Fn(&str)surface; deciders wishing to match by class can split on the first": "boundary. - 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.