Home
last modified time | relevance | path

Searched defs:RwLockWriteGuard (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/tokio/src/sync/rwlock/
Dwrite_guard.rs18 pub struct RwLockWriteGuard<'a, T: ?Sized> { struct
27 impl<'a, T: ?Sized> RwLockWriteGuard<'a, T> { implementation
201 let RwLockWriteGuard { s, data, .. } = self; in downgrade() localVariable
238 impl<T: ?Sized> ops::Deref for RwLockWriteGuard<'_, T> { implementation
246 impl<T: ?Sized> ops::DerefMut for RwLockWriteGuard<'_, T> { implementation
252 impl<'a, T: ?Sized> fmt::Debug for RwLockWriteGuard<'a, T> implementation
261 impl<'a, T: ?Sized> fmt::Display for RwLockWriteGuard<'a, T> implementation
270 impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { implementation
/external/rust/crates/spin/src/
Drwlock.rs91 pub struct RwLockWriteGuard<'a, T: 'a + ?Sized, R = Spin> { struct
97 /// A guard that provides immutable data access but can be upgraded to [`RwLockWriteGuard`]. argument
114 unsafe impl<T: ?Sized + Send + Sync, R> Send for RwLockWriteGuard<'_, T, R> {} implementation
115 unsafe impl<T: ?Sized + Send + Sync, R> Sync for RwLockWriteGuard<'_, T, R> {} implementation
629 impl<'rwlock, T: ?Sized, R> RwLockWriteGuard<'rwlock, T, R> { implementation
711 impl<'rwlock, T: ?Sized + fmt::Debug, R> fmt::Debug for RwLockWriteGuard<'rwlock, T, R> { implementation
717 impl<'rwlock, T: ?Sized + fmt::Display, R> fmt::Display for RwLockWriteGuard<'rwlock, T, R> { implementation
741 impl<'rwlock, T: ?Sized, R> Deref for RwLockWriteGuard<'rwlock, T, R> { implementation
750 impl<'rwlock, T: ?Sized, R> DerefMut for RwLockWriteGuard<'rwlock, T, R> { implementation
774 impl<'rwlock, T: ?Sized, R> Drop for RwLockWriteGuard<'rwlock, T, R> { implementation
Dlib.rs161 pub type RwLockWriteGuard<'a, T> = crate::rwlock::RwLockWriteGuard<'a, T>; typedef
190 pub type RwLockWriteGuard<'a, T> = lock_api_crate::RwLockWriteGuard<'a, crate::RwLock<()>, T>; typedef
/external/rust/crates/tokio/src/loom/std/
Dparking_lot.rs43 pub(crate) struct RwLockWriteGuard<'a, T: ?Sized>( struct
116 impl<'a, T: ?Sized> Deref for RwLockWriteGuard<'a, T> { implementation
123 impl<'a, T: ?Sized> DerefMut for RwLockWriteGuard<'a, T> { implementation
180 impl<'a, T: ?Sized + fmt::Display> fmt::Display for RwLockWriteGuard<'a, T> { implementation
/external/rust/crates/lock_api/src/
Drwlock.rs1474 pub struct RwLockWriteGuard<'a, R: RawRwLock, T: ?Sized> { struct
1479 impl<'a, R: RawRwLock + 'a, T: ?Sized + 'a> RwLockWriteGuard<'a, R, T> { implementation
1553 impl<'a, R: RawRwLockDowngrade + 'a, T: ?Sized + 'a> RwLockWriteGuard<'a, R, T> { impl
1574 impl<'a, R: RawRwLockUpgradeDowngrade + 'a, T: ?Sized + 'a> RwLockWriteGuard<'a, R, T> { implementation
1595 impl<'a, R: RawRwLockFair + 'a, T: ?Sized + 'a> RwLockWriteGuard<'a, R, T> { impl
1650 impl<'a, R: RawRwLock + 'a, T: ?Sized + 'a> Deref for RwLockWriteGuard<'a, R, T> { implementation
1658 impl<'a, R: RawRwLock + 'a, T: ?Sized + 'a> DerefMut for RwLockWriteGuard<'a, R, T> { implementation
1665 impl<'a, R: RawRwLock + 'a, T: ?Sized + 'a> Drop for RwLockWriteGuard<'a, R, T> { implementation
1675 impl<'a, R: RawRwLock + 'a, T: fmt::Debug + ?Sized + 'a> fmt::Debug for RwLockWriteGuard<'a, R, T> { implementation
1681 impl<'a, R: RawRwLock + 'a, T: fmt::Display + ?Sized + 'a> fmt::Display
[all …]
/external/rust/crates/tokio/src/sync/
Drwlock.rs172 unsafe impl<T> Sync for RwLockWriteGuard<'_, T> where T: ?Sized + Send + Sync {} implementation
185 unsafe impl<T> Send for RwLockWriteGuard<'_, T> where T: ?Sized + Send + Sync {} implementation
/external/rust/crates/parking_lot/src/
Drwlock.rs104 pub type RwLockWriteGuard<'a, T> = lock_api::RwLockWriteGuard<'a, RawRwLock, T>; typedef