🔬This is a nightly-only experimental API. (
sync_poison_mod
#134646)Structs§
- Mapped
Mutex Guard Experimental - An RAII mutex guard returned by
MutexGuard::map
, which can point to a subfield of the protected data. When this structure is dropped (falls out of scope), the lock will be unlocked. - Mutex
Experimental - A mutual exclusion primitive useful for protecting shared data
- Mutex
Guard Experimental - An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.