pub trait LockLevelFor<T> {
type Data;
}
Expand description
Declares a type as the lock level for some type T
that exposes locked
state of type Self::Data
.
If T
implements OrderedLockAccess
for Self::Data
, then the
LockFor
and RwLockFor
traits can be used to gain access to the
protected state Data
within T
at lock level Self
.
See OrderedLockAccess
for more details.