Searched refs:OwnedMutexGuard (Results 1 – 3 of 3) sorted by relevance
159 pub struct OwnedMutexGuard<T: ?Sized> { struct169 unsafe impl<T> Sync for OwnedMutexGuard<T> where T: ?Sized + Send + Sync {} implementation208 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> { implementation493 impl<T: ?Sized> Deref for OwnedMutexGuard<T> { implementation[all …]
439 pub use mutex::{Mutex, MutexGuard, TryLockError, OwnedMutexGuard};
651 - sync: `OwnedMutexGuard` for `Arc<Mutex<T>>` ([#2455]).