Struct uplock::RwLockReadGuard [−][src]
pub struct RwLockReadGuard<T> { /* fields omitted */ }
Expand description
A read guard for RwLock
(can be dereferenced into &T
)
Implementations
pub fn upgrade(self) -> RwLockWriteFuture<T>ⓘNotable traits for RwLockWriteFuture<T>
impl<T> Future for RwLockWriteFuture<T> type Output = RwLockWriteGuard<T>;
pub fn upgrade(self) -> RwLockWriteFuture<T>ⓘNotable traits for RwLockWriteFuture<T>
impl<T> Future for RwLockWriteFuture<T> type Output = RwLockWriteGuard<T>;
Upgrade this read lock in to a write lock.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for RwLockReadGuard<T>
impl<T> !Send for RwLockReadGuard<T>
impl<T> !Sync for RwLockReadGuard<T>
impl<T> Unpin for RwLockReadGuard<T>
impl<T> !UnwindSafe for RwLockReadGuard<T>
Blanket Implementations
Mutably borrows from an owned value. Read more