pub fn write_lock_render<'a, T: ?Sized>(
lock: &'a RwLock<T>,
context: &'static str,
) -> Result<RwLockWriteGuard<'a, T>, RenderError>Expand description
Like mutex_lock_render but for RwLock<T> write access.
pub fn write_lock_render<'a, T: ?Sized>(
lock: &'a RwLock<T>,
context: &'static str,
) -> Result<RwLockWriteGuard<'a, T>, RenderError>Like mutex_lock_render but for RwLock<T> write access.