Lines Matching refs:rwlock
294 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
305 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
311 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> {
315 pub fn try_upgrade(self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument
341 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument
355 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
381 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
388 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> {
399 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
408 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
427 pub fn downgrade_to_upgradeable(self) -> RwLockUpgradableGuard<'rwlock, T> { in downgrade_to_upgradeable() argument
446 impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> {
454 impl<'rwlock, T> Deref for RwLockUpgradableGuard<'rwlock, T> {
462 impl<'rwlock, T> Deref for RwLockWriteGuard<'rwlock, T> {
470 impl<'rwlock, T> DerefMut for RwLockWriteGuard<'rwlock, T> {
476 impl<'rwlock, T> Drop for RwLockReadGuard<'rwlock, T> {
484 impl<'rwlock, T> Drop for RwLockUpgradableGuard<'rwlock, T> {
496 impl<'rwlock, T> Drop for RwLockWriteGuard<'rwlock, T> {