Function git_repository::threading::lock
source · pub fn lock<T>(v: &Mutex<RawMutex, T>) -> MutexGuard<'_, RawMutex, T>
Expand description
Get a mutable reference through a Mutable
for read-write access.
pub fn lock<T>(v: &Mutex<RawMutex, T>) -> MutexGuard<'_, RawMutex, T>
Get a mutable reference through a Mutable
for read-write access.