Expand description
Helper module that adds extra checks when the deadlock_detection
feature is turned on.
Structs§
- Provides interior mutability.
- Provides interior mutability.
Type Aliases§
- The lock you get from
Mutex
. An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked. - The lock you get from
RwLock::read
. An RAII read lock guard returned byRwLockReadGuard::map
, which can point to a subfield of the protected data. - The lock you get from
RwLock::write
. An RAII write lock guard returned byRwLockWriteGuard::map
, which can point to a subfield of the protected data.