Crate recoverable_spawn

Crate recoverable_spawn 

Source
Expand description

recoverable-spawn

A thread that supports automatic recovery from panics, allowing threads to restart after a panic. Useful for resilient and fault-tolerant concurrency in network and web programming.

Modules§

async
sync

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.

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.