Lines Matching refs:rwlock
260 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
264 pub fn leak(this: Self) -> &'rwlock T { in leak()
270 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> {
274 pub fn try_upgrade(self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument
300 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument
314 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
333 pub fn leak(this: Self) -> &'rwlock T { in leak()
340 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> {
344 pub fn leak(this: Self) -> &'rwlock T { in leak()
353 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
372 pub fn downgrade_to_upgradeable(self) -> RwLockUpgradableGuard<'rwlock, T> { in downgrade_to_upgradeable() argument
391 impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> {
399 impl<'rwlock, T> Deref for RwLockUpgradableGuard<'rwlock, T> {
407 impl<'rwlock, T> Deref for RwLockWriteGuard<'rwlock, T> {
415 impl<'rwlock, T> DerefMut for RwLockWriteGuard<'rwlock, T> {
421 impl<'rwlock, T> Drop for RwLockReadGuard<'rwlock, T> {
428 impl<'rwlock, T> Drop for RwLockUpgradableGuard<'rwlock, T> {
439 impl<'rwlock, T> Drop for RwLockWriteGuard<'rwlock, T> {