Skip to main content

stop_result

Function stop_result 

Source
pub fn stop_result(unready: &[SessionSlot]) -> Result<()>
Expand description

The stop’s exit: a teardown that did not finish every session leaves a process tree behind, and a supervisor must be able to tell that from a clean stop.

§Errors

A non-empty unready is an error naming the sessions that outlasted the wait.