Crate thread_panic_restart Copy item path Source JoinHandle An owned permission to join on a thread (block on its termination). ErrorHandlerFunction Trait alias for error-handling functions used in a recoverable context. RecoverableFunction Trait alias for functions that can be executed in a recoverable context. recoverable_spawn Spawns a new thread to run the provided function function in a recoverable manner.
If the function function panics during execution, the panic will be caught, and the thread
will terminate without crashing the entire program. recoverable_spawn_with_error_handle Spawns a recoverable function with an error-handling function in a new thread. run_error_handle_function Executes an error-handling function with a given error message within a panic-safe context. run_function Executes a recoverable function within a panic-safe context. spawn_error_to_string Converts a panic-captured error value into a string. ArcErrorHandlerFunction Alias for an Arc-wrapped error handler function. ArcRecoverableFunction Alias for an Arc-wrapped recoverable function. BoxAnySend Type alias for a boxed dynamic type that implements Any and Send. SpawnResult Type alias for the result type returned by spawnable functions.