//! Supervisor restart policy (shared by bytecode `SetRestartPolicy` and host
//! [`crate::Supervisor`] / [`crate::ChildSpec`]).
/// Restart policy consulted when a supervised flow terminates.
///
/// Bytecode [`super::Opcode::SetRestartPolicy`] encodes:
/// `0` = [`Self::Always`], `1` = [`Self::OnFailure`], `2` = [`Self::Never`].