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