Lines Matching refs:RwLockWriteGuard
59 pub struct RwLockWriteGuard<'a, T: 'a> { struct
179 pub fn try_write(&self) -> Option<RwLockWriteGuard<T>> { in try_write()
191 fn inner_try_write(&self) -> Option<RwLockWriteGuard<T>> { in inner_try_write()
198 return Some(RwLockWriteGuard { in inner_try_write()
210 pub fn write(&self) -> RwLockWriteGuard<T> { in write()
315 pub fn try_upgrade(self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade()
329 Ok(RwLockWriteGuard { in try_upgrade()
341 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade()
388 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> { implementation
462 impl<'rwlock, T> Deref for RwLockWriteGuard<'rwlock, T> { implementation
470 impl<'rwlock, T> DerefMut for RwLockWriteGuard<'rwlock, T> { implementation
496 impl<'rwlock, T> Drop for RwLockWriteGuard<'rwlock, T> { implementation