Searched refs:OwnedRwLockReadGuard (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/tokio/src/sync/rwlock/ |
D | owned_read_guard.rs | 17 pub struct OwnedRwLockReadGuard<T: ?Sized, U: ?Sized = T> { struct 24 impl<T: ?Sized, U: ?Sized> OwnedRwLockReadGuard<T, U> { argument 53 pub fn map<F, V: ?Sized>(mut this: Self, f: F) -> OwnedRwLockReadGuard<T, V> in map() 61 OwnedRwLockReadGuard { in map() 99 pub fn try_map<F, V: ?Sized>(mut this: Self, f: F) -> Result<OwnedRwLockReadGuard<T, V>, Self> in try_map() 110 Ok(OwnedRwLockReadGuard { in try_map() 118 impl<T: ?Sized, U: ?Sized> ops::Deref for OwnedRwLockReadGuard<T, U> { implementation 126 impl<T: ?Sized, U: ?Sized> fmt::Debug for OwnedRwLockReadGuard<T, U> implementation 135 impl<T: ?Sized, U: ?Sized> fmt::Display for OwnedRwLockReadGuard<T, U> implementation 144 impl<T: ?Sized, U: ?Sized> Drop for OwnedRwLockReadGuard<T, U> { implementation
|
D | owned_write_guard.rs | 1 use crate::sync::rwlock::owned_read_guard::OwnedRwLockReadGuard; 181 pub fn downgrade(mut self) -> OwnedRwLockReadGuard<T> { in downgrade() 189 OwnedRwLockReadGuard { in downgrade()
|
/external/rust/crates/tokio/src/sync/ |
D | rwlock.rs | 15 pub(crate) use owned_read_guard::OwnedRwLockReadGuard; 116 check_send::<OwnedRwLockReadGuard<u32, i32>>(); in bounds() 117 check_sync::<OwnedRwLockReadGuard<u32, i32>>(); in bounds() 118 check_unpin::<OwnedRwLockReadGuard<u32, i32>>(); in bounds() 155 unsafe impl<T, U> Send for OwnedRwLockReadGuard<T, U> implementation 161 unsafe impl<T, U> Sync for OwnedRwLockReadGuard<T, U> implementation 384 pub async fn read_owned(self: Arc<Self>) -> OwnedRwLockReadGuard<T> { in read_owned() 390 OwnedRwLockReadGuard { in read_owned() 481 pub fn try_read_owned(self: Arc<Self>) -> Result<OwnedRwLockReadGuard<T>, TryLockError> { in try_read_owned() 488 Ok(OwnedRwLockReadGuard { in try_read_owned()
|
D | mod.rs | 454 pub use rwlock::owned_read_guard::OwnedRwLockReadGuard;
|
/external/rust/crates/tokio/ |
D | CHANGELOG.md | 10 - sync: add `OwnedRwLockReadGuard` and `OwnedRwLockWriteGuard` ([#3340])
|