Module async

Module async 

Source

Traits§

AsyncErrorHandlerFunction
Trait alias for asynchronous error-handling functions used in a recoverable context.
AsyncRecoverableFunction
Trait alias for asynchronous functions that can be executed in a recoverable context.
ErrorHandlerFunction
Trait alias for error-handling functions used in a recoverable context.
FunctionMutTrait
Trait alias for functions that can be executed in a recoverable context.
FunctionOnceTrait
Trait alias for functions that can be executed in a recoverable context.
FunctionTrait
Trait alias for functions that can be executed in a recoverable context.
RecoverableFunction
Trait alias for functions that can be executed in a recoverable context.

Functions§

async_recoverable_spawn
Spawns a recoverable function.
async_recoverable_spawn_catch
Spawns a recoverable function with error handling.
async_recoverable_spawn_catch_finally
Spawns a recoverable function with error handling and finalization.
async_run_error_handle_function
Executes an error-handling function within a panic-safe context.
async_run_function
Executes a recoverable function within a panic-safe context.
tokio_error_to_string
Converts a panic-captured error value into a string.

Type Aliases§

ArcAsyncErrorHandlerFunction
Arc-wrapped asynchronous error handler function.
ArcAsyncRecoverableFunction
Arc-wrapped asynchronous recoverable function.
AsyncSpawnResult
Result type for asynchronous spawn operations.
SpawnError
Error type for spawn operations.
SyncSpawnResult
Result type for synchronous spawn operations.