Crate rust_supervisor

Source
Expand description

§rust_supervisor

rust_supervisor is a library inspired by Erlang/OTP’s supervision system, allowing automatic process restart when they fail.

§Main features

  • Multiple restart strategies (OneForOne, OneForAll, RestForOne)
  • Flexible restart policy configuration
  • Process dependency management
  • Automatic process state monitoring

Structs§

Supervisor
Supervisor that manages a set of processes
SupervisorConfig
Supervisor configuration

Enums§

ProcessState
Represents the current state of a process
RestartStrategy
Defines the strategy to use when a process fails