Lines Matching refs:RwLockReadGuard
39 pub struct RwLockReadGuard<'a, T: 'a> { struct
112 pub fn try_read(&self) -> Option<RwLockReadGuard<T>> { in try_read()
129 return Some(RwLockReadGuard { in try_read()
139 pub fn read(&self) -> RwLockReadGuard<T> { in read()
260 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> { implementation
314 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade()
324 RwLockReadGuard { in downgrade()
353 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade()
363 return RwLockReadGuard { in downgrade()
391 impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> { implementation
421 impl<'rwlock, T> Drop for RwLockReadGuard<'rwlock, T> { implementation