๐ฌThis is a nightly-only experimental API. (
sync_nonpoison #134645)Re-exportsยง
use crate::cell::UnsafeCell;๐use crate::fmt;๐use crate::marker::PhantomData;๐use crate::mem;๐use crate::mem::ManuallyDrop;๐use crate::ops::Deref;๐use crate::ops::DerefMut;๐use crate::ptr::NonNull;๐use crate::sync::nonpoison::TryLockResult;๐Experimental use crate::sync::nonpoison::WouldBlock;๐Experimental use crate::sys::sync as sys;๐
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 that does not keep track of lock poisoning.
- 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.
Functionsยง
- guard_
lock ๐Experimental - For use in
nonpoison::condvar.