Trait tikv_util::HandyRwLock [−][src]
A handy shortcut to replace RwLock write/read().unwrap() pattern to
shortcut wl and rl.
A handy shortcut to replace RwLock write/read().unwrap() pattern to
shortcut wl and rl.
fn wl(&self) -> RwLockWriteGuard<'_, T>[src]fn rl(&self) -> RwLockReadGuard<'_, T>[src]impl<T> HandyRwLock<T> for RwLock<T>[src]fn wl(&self) -> RwLockWriteGuard<'_, T>[src]fn rl(&self) -> RwLockReadGuard<'_, T>[src]