Skip to main content

join_and_collect_thread_errors

Function join_and_collect_thread_errors 

Source
pub fn join_and_collect_thread_errors(
    handles: Vec<JoinHandle<Result<()>>>,
) -> Result<()>
Expand description

Utility function for keeping track of errors that originate in worker threads.

ยงPanics

Panics in threads joined by this function will cause panics here.