👎Deprecated since 0.9.1: This module has been deprecated in favor of the dedicated
deadpool-sync
utility crate.Expand description
Helpers for writing pools for objects that don’t support async and need to be run inside a thread.
Modules§
- reexports
Deprecated - This module contains all things that should be reexported
by backend implementations in order to avoid direct
dependencies on the
deadpool
crate itself.
Structs§
- Sync
Guard Deprecated - This guard is returned when calling
SyncWrapper::lock
orSyncWrapper::try_lock
. This is basicly just a wrapper around aMutexGuard
but hides some implementation details. - Sync
Wrapper Deprecated - Wrapper for objects which only provides blocking functions that need to be called on a separate thread.
Enums§
- Interact
Error Deprecated - Possible errors returned when
SyncWrapper::interact()
fails.