Module lock

Source

Structs§

OrderedLockRef
A borrowed order-aware lock.

Traits§

DelegatedOrderedLockAccess
Marks a type as offering ordered lock access for some inner type T through the OrderedLockAccess implementation of Inner.
ExclusiveLock
Abstracts an exclusive lock (i.e. a Mutex).
LockFor
Describes how to apply a lock type to the implementing type.
LockLevelFor
Declares a type as the lock level for some type T that exposes locked state of type Self::Data.
OrderedLockAccess
Marks a type as offering ordered lock access for some inner type T.
ReadWriteLock
Abstracts a read write lock (i.e. an RwLock).
RwLockFor
Describes how to acquire reader and writer locks to the implementing type.
UnlockedAccess
Describes how to access state in Self that doesn’t require locking.
UnlockedAccessMarkerFor
Declares a type that is an UnlockedAccess marker for some field Data within T.