Module shared

Source

Structs§

BorrowInfo
Forkable
Thread-local objects that can be shared among threads. The initial value can be shared globally, but the changes are not reflected in other threads. If you want to reflect the changes in other threads, you need to call update_init. Otherwise, this behaves as a RefCell.
Shared

Type Aliases§

MappedRwLockReadGuard
An RAII read lock guard returned by RwLockReadGuard::map, which can point to a subfield of the protected data.
MappedRwLockWriteGuard
An RAII write lock guard returned by RwLockWriteGuard::map, which can point to a subfield of the protected data.
RwLock
A reader-writer lock
RwLockReadGuard
RAII structure used to release the shared read access of a lock when dropped.
RwLockWriteGuard
RAII structure used to release the exclusive write access of a lock when dropped.