Skip to main content

write_lock_render

Function write_lock_render 

Source
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.