Skip to main content

SUPERVISOR_ESTRATEGIA_REST_FOR_ONE

Constant SUPERVISOR_ESTRATEGIA_REST_FOR_ONE 

Source
pub const SUPERVISOR_ESTRATEGIA_REST_FOR_ONE: &str = "RestForOne";
Expand description

Canonical M2 crate::supervisor::RestartStrategy::RestForOne variant discriminator scalar-value — the exact byte-string the Serialize derive on the un-renamed enum emits under SUPERVISOR_KEY_ESTRATEGIA whenever the typed :supervisor :estrategia slot’s strategy is the restart-failed-and-later-started- siblings arm (Erlang/OTP rest_for_one, used when later children depend on earlier ones so the startup-order suffix must be re-established).

Peer of the sibling SUPERVISOR_ESTRATEGIA_ONE_FOR_ONE / SUPERVISOR_ESTRATEGIA_ONE_FOR_ALL / SUPERVISOR_ESTRATEGIA_SIMPLE_ONE_FOR_ONE scalars on the same closed enum surface — see the sibling SUPERVISOR_ESTRATEGIA_ONE_FOR_ONE doc for the full drift-mode analysis.