[−][src]Macro bastion::supervisor
This macro creates a new supervisor with the given strategy and the given callbacks.
Children can be specified by using the children
/ child
macro.
You can provide as many children groups as you want. Supervised supervisors are currently not
yet supported.
Example
let sp = supervisor! { callbacks: Callbacks::default(), strategy: SupervisionStrategy::OneForAll, };