[][src]Module bastion::supervisor

Supervisors enable users to supervise a subtree of children or other supervisor trees under themselves.

Structs

Supervisor

A supervisor that can supervise both Children and other supervisors using a defined SupervisionStrategy (set with with_strategy or SupervisionStrategy::OneForOne by default).

SupervisorRef

A "reference" to a Supervisor, allowing to communicate with it.

Enums

SupervisionStrategy

The strategy a supervisor should use when one of its supervised children groups or supervisors dies (in the case of a children group, it could be because one of its elements panicked or returned an error).