๐ฌThis is a nightly-only experimental API. (
sync_poison_mod #134646)Re-exportsยง
use crate::cell::UnsafeCell;๐use crate::fmt;๐use crate::marker::PhantomData;๐use crate::mem;๐use crate::mem::ManuallyDrop;๐use crate::mem::forget;๐use crate::ops::Deref;๐use crate::ops::DerefMut;๐use crate::ptr::NonNull;๐use crate::sync::LockResult;๐use crate::sync::PoisonError;๐use crate::sync::TryLockError;๐use crate::sync::TryLockResult;๐use crate::sync::poison;๐Experimental use crate::sys::sync as sys;๐
Structsยง
- Mapped
RwLock Read Guard Experimental - RAII structure used to release the shared read access of a lock when dropped, which can point to a subfield of the protected data.
- Mapped
RwLock Write Guard Experimental - RAII structure used to release the exclusive write access of a lock when dropped, which can point to a subfield of the protected data.
- RwLock
Experimental - A reader-writer lock
- RwLock
Read Guard Experimental - RAII structure used to release the shared read access of a lock when dropped.
- RwLock
Write Guard Experimental - RAII structure used to release the exclusive write access of a lock when dropped.