Lines Matching refs:RwLockReadGuard
77 pub struct RwLockReadGuard<'a, T: 'a + ?Sized> { struct
164 pub fn read(&self) -> RwLockReadGuard<T> { in read()
196 pub fn try_read(&self) -> Option<RwLockReadGuard<T>> { in try_read()
206 Some(RwLockReadGuard { in try_read()
406 impl<'rwlock, T: ?Sized> RwLockReadGuard<'rwlock, T> { impl
425 impl<'rwlock, T: ?Sized + fmt::Debug> fmt::Debug for RwLockReadGuard<'rwlock, T> { implementation
431 impl<'rwlock, T: ?Sized + fmt::Display> fmt::Display for RwLockReadGuard<'rwlock, T> { implementation
515 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade()
524 RwLockReadGuard { in downgrade()
574 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade()
583 RwLockReadGuard { in downgrade()
650 impl<'rwlock, T: ?Sized> Deref for RwLockReadGuard<'rwlock, T> { implementation
680 impl<'rwlock, T: ?Sized> Drop for RwLockReadGuard<'rwlock, T> { implementation
763 drop(RwLockReadGuard { in unlock_shared()