Lines Matching refs:OwnedMutexGuard
159 pub struct OwnedMutexGuard<T: ?Sized> { struct
169 unsafe impl<T> Sync for OwnedMutexGuard<T> where T: ?Sized + Send + Sync {} implementation
208 check_send::<OwnedMutexGuard<u32>>(); in bounds()
211 check_static::<OwnedMutexGuard<u32>>(); in bounds()
309 pub async fn lock_owned(self: Arc<Self>) -> OwnedMutexGuard<T> { in lock_owned()
311 OwnedMutexGuard { lock: self } in lock_owned()
394 pub fn try_lock_owned(self: Arc<Self>) -> Result<OwnedMutexGuard<T>, TryLockError> { in try_lock_owned()
396 Ok(_) => Ok(OwnedMutexGuard { lock: self }), in try_lock_owned()
487 impl<T: ?Sized> Drop for OwnedMutexGuard<T> { implementation
493 impl<T: ?Sized> Deref for OwnedMutexGuard<T> { implementation
500 impl<T: ?Sized> DerefMut for OwnedMutexGuard<T> { implementation
506 impl<T: ?Sized + fmt::Debug> fmt::Debug for OwnedMutexGuard<T> { implementation
512 impl<T: ?Sized + fmt::Display> fmt::Display for OwnedMutexGuard<T> { implementation