pub unsafe trait ExclusiveLockPolicy<L: RawLock>: LockPolicy<L> { }Expand description
Marker subtrait for LockPolicy implementations that enforce exclusive mutual exclusion.
§Safety
In addition to LockPolicy, implementors must guarantee exclusive mutual exclusion
(at most one thread may hold the lock at a time) between acquisition and
release.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".