Trait concurrency_traits::rw_lock::UpgradeReadGuard [−][src]
pub trait UpgradeReadGuard<'a>: TryUpgradeReadGuard<'a> { fn upgrade(self) -> Self::WriteGuard; }
Expand description
A read guard that can be upgraded to a write guard
Required methods
fn upgrade(self) -> Self::WriteGuard
[src]
fn upgrade(self) -> Self::WriteGuard
[src]Upgrades this read guard into a write guard, blocking until done
Implementors
impl<'a, T, R> UpgradeReadGuard<'a> for CustomReadGuard<'a, T, R> where
R: RawUpgradeRwLock,
[src]
impl<'a, T, R> UpgradeReadGuard<'a> for CustomReadGuard<'a, T, R> where
R: RawUpgradeRwLock,
[src]