Trait happylock::OwnedLockable
source · pub unsafe trait OwnedLockable<'a>: Lockable<'a> { }Expand description
A type that may be locked and unlocked, and is known to be the only valid instance of the lock.
§Safety
There must not be any two values which can unlock the value at the same time, i.e., this must either be an owned value or a mutable reference.