generic<T> struct MutexGuard { }Proof of holding a Mutex's lock: get() is the protected value, valid until the guard is dropped (which unlocks).
Methods
the value: don't keep it past drop()
replace it (dropping the old one)
unlocks
generic<T> struct MutexGuard { }Proof of holding a Mutex's lock: get() is the protected value, valid until the guard is dropped (which unlocks).
the value: don't keep it past drop()
replace it (dropping the old one)
unlocks