Lines Matching refs:MutexGuard
102 pub fn try_lock(&self) -> Option<MutexGuard<'_, T>> { in try_lock()
105 Some(MutexGuard { mutex: self }) in try_lock()
212 type Output = MutexGuard<'a, T>;
262 pub struct MutexGuard<'a, T: ?Sized> { struct
266 impl<'a, T: ?Sized> MutexGuard<'a, T> { implementation
296 impl<T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'_, T> { implementation
305 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
311 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
318 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
404 unsafe impl<T: ?Sized + Send> Send for MutexGuard<'_, T> {} implementation
405 unsafe impl<T: ?Sized + Sync> Sync for MutexGuard<'_, T> {} implementation
414 let guard = MutexGuard::map(guard, |n| n); in test_mutex_guard_debug_not_recurse()