Searched refs:RwLockMappedWriteGuard (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/tokio/src/sync/rwlock/ |
D | write_guard_mapped.rs | 16 pub struct RwLockMappedWriteGuard<'a, T: ?Sized> { struct 23 impl<'a, T: ?Sized> RwLockMappedWriteGuard<'a, T> { argument 60 pub fn map<F, U: ?Sized>(mut this: Self, f: F) -> RwLockMappedWriteGuard<'a, U> in map() 69 RwLockMappedWriteGuard { in map() 119 ) -> Result<RwLockMappedWriteGuard<'a, U>, Self> in try_map() 131 Ok(RwLockMappedWriteGuard { in try_map() 140 impl<T: ?Sized> ops::Deref for RwLockMappedWriteGuard<'_, T> { implementation 148 impl<T: ?Sized> ops::DerefMut for RwLockMappedWriteGuard<'_, T> { implementation 154 impl<'a, T: ?Sized> fmt::Debug for RwLockMappedWriteGuard<'a, T> implementation 163 impl<'a, T: ?Sized> fmt::Display for RwLockMappedWriteGuard<'a, T> implementation [all …]
|
D | write_guard.rs | 3 use crate::sync::rwlock::write_guard_mapped::RwLockMappedWriteGuard; 62 pub fn map<F, U: ?Sized>(mut this: Self, f: F) -> RwLockMappedWriteGuard<'a, U> in map() 71 RwLockMappedWriteGuard { in map() 122 ) -> Result<RwLockMappedWriteGuard<'a, U>, Self> in try_map() 134 Ok(RwLockMappedWriteGuard { in try_map() 148 pub fn into_mapped(this: Self) -> RwLockMappedWriteGuard<'a, T> { in into_mapped()
|
/external/rust/crates/tokio/src/sync/ |
D | rwlock.rs | 20 pub(crate) use write_guard_mapped::RwLockMappedWriteGuard; 124 check_send::<RwLockMappedWriteGuard<'_, u32>>(); in bounds() 125 check_sync::<RwLockMappedWriteGuard<'_, u32>>(); in bounds() 126 check_unpin::<RwLockMappedWriteGuard<'_, u32>>(); in bounds() 169 unsafe impl<T> Sync for RwLockMappedWriteGuard<'_, T> where T: ?Sized + Send + Sync {} implementation 182 unsafe impl<T> Send for RwLockMappedWriteGuard<'_, T> where T: ?Sized + Send + Sync {} implementation
|
D | mod.rs | 459 pub use rwlock::write_guard_mapped::RwLockMappedWriteGuard;
|